branch | oldstable |
changeset 6665 | 90f2f20367bc |
parent 5658 | 7b9553a9db65 |
child 7945 | 5959f94c0358 |
child 7952 | 48330faf4cd7 |
6018:f4d1d5d9ccbb | 6665:90f2f20367bc |
---|---|
703 |
703 |
704 |
704 |
705 ts.addParser({ |
705 ts.addParser({ |
706 id: "json", |
706 id: "json", |
707 is: function(s) { |
707 is: function(s) { |
708 return s.startsWith('json:'); |
708 return s.startswith('json:'); |
709 }, |
709 }, |
710 format: function(s,table,cell) { |
710 format: function(s,table,cell) { |
711 return evalJSON(s.slice(5)); |
711 return cw.evalJSON(s.slice(5)); |
712 }, |
712 }, |
713 type: "text" |
713 type: "text" |
714 }); |
714 }); |
715 |
715 |
716 ts.addParser({ |
716 ts.addParser({ |