Comparing version 0.0.3 to 0.0.4
@@ -1,1 +0,1 @@ | ||
{"changed":false,"filter":false,"title":"nant.js","tooltip":"/nant.js","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":18},"end":{"row":138,"column":19}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":19},"end":{"row":138,"column":20}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":20},"end":{"row":138,"column":21}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":21},"end":{"row":138,"column":22}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":22},"end":{"row":138,"column":23}},"text":"c"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":23},"end":{"row":138,"column":24}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":24},"end":{"row":138,"column":25}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":25},"end":{"row":138,"column":26}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":26},"end":{"row":138,"column":27}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":8},"end":{"row":152,"column":16}},"text":"ht[name]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":16},"end":{"row":152,"column":17}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":17},"end":{"row":152,"column":18}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":18},"end":{"row":152,"column":19}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":151,"column":47},"end":{"row":152,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":152,"column":0},"end":{"row":152,"column":8}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":8},"end":{"row":152,"column":9}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":9},"end":{"row":152,"column":10}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":10},"end":{"row":152,"column":11}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":11},"end":{"row":152,"column":12}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":12},"end":{"row":152,"column":13}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":13},"end":{"row":152,"column":14}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":14},"end":{"row":152,"column":15}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":15},"end":{"row":152,"column":16}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":16},"end":{"row":152,"column":17}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":17},"end":{"row":152,"column":18}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":153,"column":27},"end":{"row":153,"column":38}},"text":"voidTags[i]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":18},"end":{"row":152,"column":29}},"text":"voidTags[i]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":29},"end":{"row":152,"column":30}},"text":";"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":153,"column":11},"end":{"row":153,"column":15}},"text":"name"},{"action":"insertText","range":{"start":{"row":153,"column":11},"end":{"row":153,"column":12}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":12},"end":{"row":153,"column":13}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":13},"end":{"row":153,"column":14}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":26},"end":{"row":153,"column":27}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":27},"end":{"row":153,"column":28}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":28},"end":{"row":153,"column":29}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":155,"column":45},"end":{"row":156,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":156,"column":0},"end":{"row":156,"column":8}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":156,"column":8},"end":{"row":156,"column":19}},"text":"voidTags[i]"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":156,"column":8},"end":{"row":156,"column":19}},"text":"voidTags[i]"},{"action":"insertText","range":{"start":{"row":156,"column":8},"end":{"row":156,"column":30}},"text":"var tag = voidTags[i];"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":156,"column":18},"end":{"row":156,"column":26}},"text":"voidTags"},{"action":"insertText","range":{"start":{"row":156,"column":18},"end":{"row":156,"column":24}},"text":"nvTags"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":155,"column":13},"end":{"row":155,"column":14}},"text":"j"},{"action":"insertText","range":{"start":{"row":155,"column":13},"end":{"row":155,"column":14}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":155,"column":14},"end":{"row":155,"column":15}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":155,"column":21},"end":{"row":155,"column":22}},"text":"j"},{"action":"insertText","range":{"start":{"row":155,"column":21},"end":{"row":155,"column":22}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":155,"column":22},"end":{"row":155,"column":23}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":155,"column":41},"end":{"row":155,"column":42}},"text":"j"},{"action":"insertText","range":{"start":{"row":155,"column":41},"end":{"row":155,"column":42}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":155,"column":42},"end":{"row":155,"column":43}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":156,"column":25},"end":{"row":156,"column":26}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":18},"end":{"row":153,"column":19}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":19},"end":{"row":153,"column":20}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":20},"end":{"row":153,"column":21}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":21},"end":{"row":153,"column":22}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":22},"end":{"row":153,"column":23}},"text":"."}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":8},"end":{"row":157,"column":18}},"text":"ht[tag] = "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":18},"end":{"row":157,"column":19}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":19},"end":{"row":157,"column":20}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":20},"end":{"row":157,"column":21}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":21},"end":{"row":157,"column":22}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":22},"end":{"row":157,"column":23}},"text":"."}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":157,"column":31},"end":{"row":157,"column":40}},"text":"nvTags[j]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":31},"end":{"row":157,"column":32}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":32},"end":{"row":157,"column":33}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":33},"end":{"row":157,"column":34}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":152,"column":12},"end":{"row":152,"column":15}},"text":"tag"},{"action":"insertText","range":{"start":{"row":152,"column":12},"end":{"row":152,"column":13}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":13},"end":{"row":152,"column":14}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":14},"end":{"row":152,"column":15}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":152,"column":15},"end":{"row":152,"column":16}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":11},"end":{"row":153,"column":12}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":153,"column":32},"end":{"row":153,"column":33}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":156,"column":12},"end":{"row":156,"column":13}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":156,"column":13},"end":{"row":156,"column":14}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":31},"end":{"row":157,"column":32}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":32},"end":{"row":157,"column":33}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":11},"end":{"row":157,"column":12}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":157,"column":12},"end":{"row":157,"column":13}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":79,"column":23},"end":{"row":79,"column":40}},"text":"val instanceof Uq"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":78,"column":23},"end":{"row":78,"column":28}},"text":"false"},{"action":"insertText","range":{"start":{"row":78,"column":23},"end":{"row":78,"column":24}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":24},"end":{"row":78,"column":25}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":25},"end":{"row":78,"column":26}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":79,"column":23},"end":{"row":79,"column":40}},"text":"val instanceof Uq"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":78,"column":23},"end":{"row":78,"column":26}},"text":"val"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":23},"end":{"row":78,"column":24}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":24},"end":{"row":78,"column":25}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":25},"end":{"row":78,"column":26}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":26},"end":{"row":78,"column":27}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":27},"end":{"row":78,"column":28}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":28},"end":{"row":78,"column":29}},"text":"d"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":29},"end":{"row":78,"column":30}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":30},"end":{"row":78,"column":31}},"text":"?"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":31},"end":{"row":78,"column":32}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":32},"end":{"row":78,"column":33}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":33},"end":{"row":78,"column":34}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":34},"end":{"row":78,"column":35}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":35},"end":{"row":78,"column":36}},"text":":"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":36},"end":{"row":78,"column":37}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":78,"column":36},"end":{"row":78,"column":37}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":78,"column":35},"end":{"row":78,"column":36}},"text":":"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":35},"end":{"row":78,"column":36}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":36},"end":{"row":78,"column":37}},"text":":"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":37},"end":{"row":78,"column":38}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":38},"end":{"row":78,"column":39}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":39},"end":{"row":78,"column":40}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":40},"end":{"row":78,"column":41}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":41},"end":{"row":78,"column":42}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":78,"column":42},"end":{"row":78,"column":43}},"text":"e"}]}]]},"ace":{"folds":[],"scrolltop":720,"scrollleft":0,"selection":{"start":{"row":78,"column":33},"end":{"row":78,"column":33},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":50,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1411552605455} | ||
{"filter":false,"title":"nant.js","tooltip":"/nant.js","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":52,"column":16},"end":{"row":52,"column":17}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":52,"column":16},"end":{"row":52,"column":17}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":52,"column":16},"end":{"row":52,"column":17}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":52,"column":16},"end":{"row":52,"column":17}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":52,"column":16},"end":{"row":52,"column":17}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":52,"column":17},"end":{"row":52,"column":18}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":52,"column":18},"end":{"row":52,"column":19}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":52,"column":19},"end":{"row":52,"column":20}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":52,"column":47},"end":{"row":53,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":53,"column":0},"end":{"row":53,"column":16}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":53,"column":12},"end":{"row":53,"column":16}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":53,"column":12},"end":{"row":53,"column":13}},"text":"}"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":62,"column":12},"end":{"row":62,"column":13}},"text":"}"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":54,"column":0},"end":{"row":54,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":55,"column":0},"end":{"row":55,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":56,"column":0},"end":{"row":56,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":57,"column":0},"end":{"row":57,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":58,"column":0},"end":{"row":58,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":59,"column":0},"end":{"row":59,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":60,"column":0},"end":{"row":60,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":61,"column":0},"end":{"row":61,"column":4}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":82,"column":0},"end":{"row":82,"column":13}},"text":" }"},{"action":"removeLines","range":{"start":{"row":81,"column":0},"end":{"row":82,"column":0}},"nl":"\n","lines":[" return false;"]},{"action":"removeText","range":{"start":{"row":80,"column":14},"end":{"row":80,"column":20}},"text":"else {"},{"action":"removeText","range":{"start":{"row":80,"column":14},"end":{"row":81,"column":0}},"text":"\n"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":80,"column":13},"end":{"row":80,"column":14}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":80,"column":13},"end":{"row":81,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":81,"column":0},"end":{"row":81,"column":12}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":12},"end":{"row":81,"column":13}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":13},"end":{"row":81,"column":14}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":14},"end":{"row":81,"column":15}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":15},"end":{"row":81,"column":16}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":16},"end":{"row":81,"column":17}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":17},"end":{"row":81,"column":18}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":18},"end":{"row":81,"column":19}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":19},"end":{"row":81,"column":20}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":20},"end":{"row":81,"column":21}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":21},"end":{"row":81,"column":22}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":22},"end":{"row":81,"column":23}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":23},"end":{"row":81,"column":24}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":81,"column":24},"end":{"row":81,"column":25}},"text":";"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":67,"column":37},"end":{"row":68,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":68,"column":0},"end":{"row":68,"column":12}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":12},"end":{"row":68,"column":13}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":13},"end":{"row":68,"column":14}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":14},"end":{"row":68,"column":15}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":15},"end":{"row":68,"column":16}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":16},"end":{"row":68,"column":17}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":17},"end":{"row":68,"column":18}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":18},"end":{"row":68,"column":19}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":19},"end":{"row":68,"column":20}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":20},"end":{"row":68,"column":21}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":21},"end":{"row":68,"column":22}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":22},"end":{"row":68,"column":23}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":23},"end":{"row":68,"column":24}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":24},"end":{"row":68,"column":25}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":25},"end":{"row":68,"column":26}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":26},"end":{"row":68,"column":27}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":68,"column":27},"end":{"row":68,"column":28}},"text":";"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":71,"column":20},"end":{"row":71,"column":26}},"text":"return"},{"action":"insertText","range":{"start":{"row":71,"column":20},"end":{"row":71,"column":21}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":71,"column":21},"end":{"row":71,"column":22}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":71,"column":22},"end":{"row":71,"column":23}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":71,"column":23},"end":{"row":71,"column":24}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":71,"column":24},"end":{"row":71,"column":25}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":79,"column":20},"end":{"row":79,"column":26}},"text":"return"},{"action":"insertText","range":{"start":{"row":79,"column":20},"end":{"row":79,"column":21}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":79,"column":21},"end":{"row":79,"column":22}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":79,"column":22},"end":{"row":79,"column":23}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":79,"column":23},"end":{"row":79,"column":24}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":79,"column":24},"end":{"row":79,"column":25}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":82,"column":19},"end":{"row":82,"column":24}},"text":"false"},{"action":"insertText","range":{"start":{"row":82,"column":19},"end":{"row":82,"column":20}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":20},"end":{"row":82,"column":21}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":21},"end":{"row":82,"column":22}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":22},"end":{"row":82,"column":23}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":23},"end":{"row":82,"column":24}},"text":"|"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":24},"end":{"row":82,"column":25}},"text":"|"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":25},"end":{"row":82,"column":26}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":26},"end":{"row":82,"column":27}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":27},"end":{"row":82,"column":28}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":28},"end":{"row":82,"column":29}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":29},"end":{"row":82,"column":30}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":82,"column":30},"end":{"row":82,"column":31}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":68,"column":22},"end":{"row":68,"column":27}},"text":"false"},{"action":"insertText","range":{"start":{"row":68,"column":22},"end":{"row":68,"column":23}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":68,"column":22},"end":{"row":68,"column":23}},"text":"a"},{"action":"insertText","range":{"start":{"row":68,"column":22},"end":{"row":68,"column":26}},"text":"aCls"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":70,"column":41},"end":{"row":71,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":71,"column":0},"end":{"row":71,"column":20}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":71,"column":20},"end":{"row":71,"column":36}},"text":"var strArr = [];"},{"action":"insertText","range":{"start":{"row":71,"column":36},"end":{"row":72,"column":0}},"text":"\n"},{"action":"insertLines","range":{"start":{"row":72,"column":0},"end":{"row":75,"column":0}},"lines":[" for (var i = 0; i < val.length; i++) {"," strArr.push( getAttr(val[i], true) );"," }"]},{"action":"insertText","range":{"start":{"row":75,"column":0},"end":{"row":75,"column":53}},"text":" return '[' + strArr.join(', ') + ']';"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":72,"column":0},"end":{"row":72,"column":4}},"text":" "},{"action":"insertText","range":{"start":{"row":73,"column":0},"end":{"row":73,"column":4}},"text":" "},{"action":"insertText","range":{"start":{"row":74,"column":0},"end":{"row":74,"column":4}},"text":" "},{"action":"insertText","range":{"start":{"row":75,"column":0},"end":{"row":75,"column":4}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":72,"column":40},"end":{"row":72,"column":43}},"text":"val"},{"action":"insertText","range":{"start":{"row":72,"column":40},"end":{"row":72,"column":41}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":72,"column":40},"end":{"row":72,"column":41}},"text":"a"},{"action":"insertText","range":{"start":{"row":72,"column":40},"end":{"row":72,"column":44}},"text":"aCls"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":73,"column":37},"end":{"row":73,"column":44}},"text":"getAttr"},{"action":"insertText","range":{"start":{"row":73,"column":37},"end":{"row":73,"column":38}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":73,"column":38},"end":{"row":73,"column":39}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":73,"column":39},"end":{"row":73,"column":40}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":73,"column":37},"end":{"row":73,"column":40}},"text":"get"},{"action":"insertText","range":{"start":{"row":73,"column":37},"end":{"row":73,"column":49}},"text":"getClassAttr"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":73,"column":50},"end":{"row":73,"column":53}},"text":"val"},{"action":"insertText","range":{"start":{"row":73,"column":50},"end":{"row":73,"column":51}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":73,"column":51},"end":{"row":73,"column":52}},"text":"C"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":73,"column":50},"end":{"row":73,"column":52}},"text":"aC"},{"action":"insertText","range":{"start":{"row":73,"column":50},"end":{"row":73,"column":54}},"text":"aCls"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":19},"end":{"row":75,"column":32}},"text":" return '[' +"},{"action":"insertText","range":{"start":{"row":75,"column":19},"end":{"row":75,"column":20}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":75,"column":20},"end":{"row":75,"column":21}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":75,"column":21},"end":{"row":75,"column":22}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":75,"column":22},"end":{"row":75,"column":23}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":75,"column":22},"end":{"row":75,"column":23}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":47},"end":{"row":75,"column":48}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":46},"end":{"row":75,"column":47}},"text":"]"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":45},"end":{"row":75,"column":46}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":44},"end":{"row":75,"column":45}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":43},"end":{"row":75,"column":44}},"text":"+"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":42},"end":{"row":75,"column":43}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":20},"end":{"row":76,"column":42}},"text":"ret = aCls.join(' ') ;"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":16},"end":{"row":76,"column":20}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":12},"end":{"row":76,"column":16}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":8},"end":{"row":76,"column":12}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":4},"end":{"row":76,"column":8}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":0},"end":{"row":76,"column":4}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":76,"column":0},"end":{"row":76,"column":4}},"text":" "},{"action":"removeText","range":{"start":{"row":75,"column":43},"end":{"row":76,"column":0}},"text":"\n"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":75,"column":38},"end":{"row":75,"column":39}},"text":","}]}]]},"ace":{"folds":[],"scrolltop":840,"scrollleft":0,"selection":{"start":{"row":75,"column":38},"end":{"row":75,"column":38},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":59,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1411661873730,"hash":"dd5f27b080b781d8f403a839dca86b5239a72fc7"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":0,"position":0,"stack":[[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":2,"column":18},"end":{"row":2,"column":19}},"text":"2"},{"action":"insertText","range":{"start":{"row":2,"column":18},"end":{"row":2,"column":19}},"text":"3"}]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":2,"column":19},"end":{"row":2,"column":19},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1411577430392,"hash":"ca5968ad0b947b6cc2e76a22fbbe248d4e9fc290"} | ||
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":1,"position":1,"stack":[[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":2,"column":18},"end":{"row":2,"column":19}},"text":"2"},{"action":"insertText","range":{"start":{"row":2,"column":18},"end":{"row":2,"column":19}},"text":"3"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":2,"column":18},"end":{"row":2,"column":19}},"text":"3"},{"action":"insertText","range":{"start":{"row":2,"column":18},"end":{"row":2,"column":19}},"text":"4"}]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":2,"column":19},"end":{"row":2,"column":19},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1411662405755,"hash":"636b07439bdd540d2844d6097021f00784c8f05a"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"README.md","tooltip":"/README.md","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":14},"end":{"row":0,"column":15}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":15},"end":{"row":0,"column":16}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":16},"end":{"row":0,"column":17}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":17},"end":{"row":0,"column":18}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":18},"end":{"row":0,"column":19}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":19},"end":{"row":0,"column":20}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":20},"end":{"row":0,"column":21}},"text":"t"},{"action":"insertText","range":{"start":{"row":0,"column":21},"end":{"row":0,"column":22}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":22},"end":{"row":0,"column":23}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":22},"end":{"row":0,"column":23}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":21},"end":{"row":0,"column":22}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":20},"end":{"row":0,"column":21}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":20},"end":{"row":0,"column":21}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":21},"end":{"row":0,"column":22}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":22},"end":{"row":0,"column":23}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":23},"end":{"row":0,"column":24}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":24},"end":{"row":0,"column":25}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":25},"end":{"row":0,"column":26}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":26},"end":{"row":0,"column":27}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":27},"end":{"row":0,"column":28}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":28},"end":{"row":0,"column":29}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":29},"end":{"row":0,"column":30}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":30},"end":{"row":0,"column":31}},"text":"h"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":31},"end":{"row":0,"column":32}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":32},"end":{"row":0,"column":33}},"text":"m"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":33},"end":{"row":0,"column":34}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":34},"end":{"row":0,"column":35}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":35},"end":{"row":0,"column":36}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":36},"end":{"row":0,"column":37}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":37},"end":{"row":0,"column":38}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":37},"end":{"row":0,"column":38}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":36},"end":{"row":0,"column":37}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":35},"end":{"row":0,"column":36}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":35},"end":{"row":0,"column":36}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":36},"end":{"row":0,"column":37}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":37},"end":{"row":0,"column":38}},"text":"m"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":38},"end":{"row":0,"column":39}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":39},"end":{"row":0,"column":40}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":40},"end":{"row":0,"column":41}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":41},"end":{"row":0,"column":42}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":42},"end":{"row":0,"column":43}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":43},"end":{"row":0,"column":44}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":44},"end":{"row":0,"column":45}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":45},"end":{"row":0,"column":46}},"text":"w"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":46},"end":{"row":0,"column":47}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":47},"end":{"row":0,"column":48}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":48},"end":{"row":0,"column":49}},"text":"h"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":49},"end":{"row":0,"column":50}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":50},"end":{"row":0,"column":51}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":51},"end":{"row":0,"column":52}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":52},"end":{"row":0,"column":53}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":53},"end":{"row":0,"column":54}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":54},"end":{"row":0,"column":55}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":55},"end":{"row":0,"column":56}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":56},"end":{"row":0,"column":57}},"text":"j"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":57},"end":{"row":0,"column":58}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":58},"end":{"row":0,"column":59}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":59},"end":{"row":0,"column":60}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":60},"end":{"row":0,"column":61}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":61},"end":{"row":0,"column":62}},"text":"c"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":62},"end":{"row":0,"column":63}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":63},"end":{"row":0,"column":64}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":64},"end":{"row":0,"column":65}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":65},"end":{"row":0,"column":66}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":66},"end":{"row":0,"column":67}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":67},"end":{"row":0,"column":68}},"text":"("}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":68},"end":{"row":0,"column":69}},"text":"b"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":69},"end":{"row":0,"column":70}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":70},"end":{"row":0,"column":71}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":71},"end":{"row":0,"column":72}},"text":"w"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":72},"end":{"row":0,"column":73}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":73},"end":{"row":0,"column":74}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":74},"end":{"row":0,"column":75}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":75},"end":{"row":0,"column":76}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":76},"end":{"row":0,"column":77}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":76},"end":{"row":0,"column":77}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":75},"end":{"row":0,"column":76}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":74},"end":{"row":0,"column":75}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":73},"end":{"row":0,"column":74}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":72},"end":{"row":0,"column":73}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":71},"end":{"row":0,"column":72}},"text":"w"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":70},"end":{"row":0,"column":71}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":0,"column":69},"end":{"row":0,"column":70}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":69},"end":{"row":0,"column":70}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":70},"end":{"row":0,"column":71}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":71},"end":{"row":0,"column":72}},"text":"w"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":72},"end":{"row":0,"column":73}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":73},"end":{"row":0,"column":74}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":74},"end":{"row":0,"column":75}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":75},"end":{"row":0,"column":76}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":76},"end":{"row":0,"column":77}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":77},"end":{"row":0,"column":78}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":78},"end":{"row":0,"column":79}},"text":"d"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":79},"end":{"row":0,"column":80}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":80},"end":{"row":0,"column":81}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":81},"end":{"row":0,"column":82}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":82},"end":{"row":0,"column":83}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":83},"end":{"row":0,"column":84}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":84},"end":{"row":0,"column":85}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":85},"end":{"row":0,"column":86}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":86},"end":{"row":0,"column":87}},"text":")"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":87},"end":{"row":0,"column":88}},"text":"."}]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":22,"column":13},"end":{"row":22,"column":13},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1411577382994,"hash":"56e8dbd4ce71cdf142600b23d8a7d96320c272f9"} | ||
{"filter":false,"title":"README.md","tooltip":"/README.md","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":74},"end":{"row":0,"column":75}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":75},"end":{"row":0,"column":76}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":76},"end":{"row":0,"column":77}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":77},"end":{"row":0,"column":78}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":78},"end":{"row":0,"column":79}},"text":"d"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":79},"end":{"row":0,"column":80}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":80},"end":{"row":0,"column":81}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":81},"end":{"row":0,"column":82}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":82},"end":{"row":0,"column":83}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":83},"end":{"row":0,"column":84}},"text":"v"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":84},"end":{"row":0,"column":85}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":85},"end":{"row":0,"column":86}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":86},"end":{"row":0,"column":87}},"text":")"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":0,"column":87},"end":{"row":0,"column":88}},"text":"."}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":215,"column":0},"end":{"row":215,"column":8}},"text":" "},{"action":"removeText","range":{"start":{"row":214,"column":8},"end":{"row":214,"column":108}},"text":"// css classes can also be passed as conditional object { class1: condition, class2: condition, ...}"},{"action":"removeText","range":{"start":{"row":214,"column":8},"end":{"row":215,"column":0}},"text":"\n"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":127,"column":0},"end":{"row":127,"column":17}},"text":"class can also be"},{"action":"insertText","range":{"start":{"row":127,"column":0},"end":{"row":127,"column":1}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":127,"column":1},"end":{"row":127,"column":2}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":127,"column":1},"end":{"row":127,"column":2}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":127,"column":0},"end":{"row":127,"column":1}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":127,"column":0},"end":{"row":127,"column":1}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":127,"column":1},"end":{"row":127,"column":2}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeLines","range":{"start":{"row":125,"column":0},"end":{"row":126,"column":0}},"nl":"\n","lines":[""]}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":133,"column":3},"end":{"row":134,"column":0}},"text":"\n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":134,"column":0},"end":{"row":135,"column":0}},"text":"\n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":135,"column":0},"end":{"row":136,"column":0}},"text":"\n"},{"action":"insertLines","range":{"start":{"row":136,"column":0},"end":{"row":143,"column":0}},"lines":["or a conditional object, only members with a truthy value will be picked","","```javascript","ht.input({ class: { class1: true, class2: 1 > 2 })","```","```html","<input class=\"class1\">"]},{"action":"insertText","range":{"start":{"row":143,"column":0},"end":{"row":143,"column":3}},"text":"```"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":136,"column":0},"end":{"row":136,"column":4}},"text":"or a"},{"action":"insertText","range":{"start":{"row":136,"column":0},"end":{"row":136,"column":1}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":1},"end":{"row":136,"column":2}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":2},"end":{"row":136,"column":3}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":3},"end":{"row":136,"column":4}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":4},"end":{"row":136,"column":5}},"text":"m"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":5},"end":{"row":136,"column":6}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":6},"end":{"row":136,"column":7}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":7},"end":{"row":136,"column":8}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":8},"end":{"row":136,"column":9}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":9},"end":{"row":136,"column":10}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":10},"end":{"row":136,"column":11}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":11},"end":{"row":136,"column":12}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":12},"end":{"row":136,"column":13}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":13},"end":{"row":136,"column":14}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":14},"end":{"row":136,"column":15}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":15},"end":{"row":136,"column":16}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":16},"end":{"row":136,"column":17}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":17},"end":{"row":136,"column":18}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":18},"end":{"row":136,"column":19}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":19},"end":{"row":136,"column":20}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":20},"end":{"row":136,"column":21}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":21},"end":{"row":136,"column":22}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":22},"end":{"row":136,"column":23}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":23},"end":{"row":136,"column":24}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":24},"end":{"row":136,"column":25}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":25},"end":{"row":136,"column":26}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":26},"end":{"row":136,"column":27}},"text":"b"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":27},"end":{"row":136,"column":28}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":28},"end":{"row":136,"column":29}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":29},"end":{"row":136,"column":30}},"text":"h"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":31},"end":{"row":136,"column":32}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":32},"end":{"row":136,"column":33}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":33},"end":{"row":136,"column":34}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":34},"end":{"row":136,"column":35}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":35},"end":{"row":136,"column":36}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":36},"end":{"row":136,"column":37}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":136,"column":37},"end":{"row":136,"column":38}},"text":"/"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":136,"column":57},"end":{"row":136,"column":105}},"text":" only members with a truthy value will be picked"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":136,"column":56},"end":{"row":136,"column":57}},"text":","}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":9},"end":{"row":139,"column":10}},"text":"["}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":10},"end":{"row":139,"column":11}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":11},"end":{"row":139,"column":12}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":12},"end":{"row":139,"column":13}},"text":"m"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":13},"end":{"row":139,"column":14}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":14},"end":{"row":139,"column":15}},"text":"c"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":15},"end":{"row":139,"column":16}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":16},"end":{"row":139,"column":17}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":17},"end":{"row":139,"column":18}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":18},"end":{"row":139,"column":19}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":19},"end":{"row":139,"column":20}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":20},"end":{"row":139,"column":21}},"text":","}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":21},"end":{"row":139,"column":22}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":129,"column":28},"end":{"row":129,"column":32}},"text":"true"},{"action":"insertText","range":{"start":{"row":129,"column":28},"end":{"row":129,"column":29}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":129,"column":29},"end":{"row":129,"column":30}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":129,"column":30},"end":{"row":129,"column":31}},"text":"<"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":129,"column":31},"end":{"row":129,"column":32}},"text":"2"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":129,"column":31},"end":{"row":129,"column":32}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":139,"column":41},"end":{"row":139,"column":45}},"text":"true"},{"action":"insertText","range":{"start":{"row":139,"column":41},"end":{"row":139,"column":42}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":42},"end":{"row":139,"column":43}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":43},"end":{"row":139,"column":44}},"text":"<"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":44},"end":{"row":139,"column":45}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":139,"column":45},"end":{"row":139,"column":46}},"text":"2"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":14},"end":{"row":142,"column":15}},"text":"m"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":15},"end":{"row":142,"column":16}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":16},"end":{"row":142,"column":17}},"text":"c"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":17},"end":{"row":142,"column":18}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":18},"end":{"row":142,"column":19}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":19},"end":{"row":142,"column":20}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":20},"end":{"row":142,"column":21}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":142,"column":21},"end":{"row":142,"column":22}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeLines","range":{"start":{"row":134,"column":0},"end":{"row":135,"column":0}},"nl":"\n","lines":[""]}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":63},"end":{"row":138,"column":64}},"text":"]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":63},"end":{"row":138,"column":64}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":138,"column":9},"end":{"row":138,"column":22}},"text":"[ 'myclass', "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":17},"end":{"row":138,"column":30}},"text":"[ 'myclass', "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":138,"column":17},"end":{"row":138,"column":18}},"text":" "}]}]]},"ace":{"folds":[],"scrolltop":1543,"scrollleft":0,"selection":{"start":{"row":138,"column":66},"end":{"row":138,"column":66},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":109,"state":"jscode-start","mode":"ace/mode/markdown"}},"timestamp":1411662306639,"hash":"865a80194c1e796ef36216250b06d96431fc72cd"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"test.js","tooltip":"/test/test.js","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":25,"column":64},"end":{"row":25,"column":65}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":25,"column":64},"end":{"row":25,"column":65}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":25,"column":63},"end":{"row":25,"column":64}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":25,"column":63},"end":{"row":25,"column":64}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":25,"column":64},"end":{"row":25,"column":65}},"text":"d"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":25,"column":66},"end":{"row":25,"column":77}},"text":"from object"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":25,"column":66},"end":{"row":25,"column":67}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":25,"column":65},"end":{"row":25,"column":66}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":56},"end":{"row":28,"column":68}},"text":"numAttr: 1, "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":56},"end":{"row":28,"column":57}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":56},"end":{"row":28,"column":57}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":57},"end":{"row":28,"column":58}},"text":"q"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":58},"end":{"row":28,"column":59}},"text":"A"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":59},"end":{"row":28,"column":60}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":60},"end":{"row":28,"column":61}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":61},"end":{"row":28,"column":62}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":62},"end":{"row":28,"column":63}},"text":":"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":63},"end":{"row":28,"column":64}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":64},"end":{"row":28,"column":65}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":65},"end":{"row":28,"column":66}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":66},"end":{"row":28,"column":67}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":67},"end":{"row":28,"column":68}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":68},"end":{"row":28,"column":69}},"text":"."}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":69},"end":{"row":28,"column":70}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":70},"end":{"row":28,"column":71}},"text":"q"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":71},"end":{"row":28,"column":73}},"text":"()"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":73},"end":{"row":28,"column":74}},"text":","}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":72},"end":{"row":28,"column":74}},"text":"''"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":73},"end":{"row":28,"column":74}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":74},"end":{"row":28,"column":75}},"text":"x"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":75},"end":{"row":28,"column":76}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":76},"end":{"row":28,"column":77}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":77},"end":{"row":28,"column":78}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":78},"end":{"row":28,"column":79}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":79},"end":{"row":28,"column":80}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":80},"end":{"row":28,"column":81}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":81},"end":{"row":28,"column":82}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":82},"end":{"row":28,"column":83}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":83},"end":{"row":28,"column":84}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":84},"end":{"row":28,"column":85}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":85},"end":{"row":28,"column":86}},"text":"&"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":86},"end":{"row":28,"column":87}},"text":"&"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":87},"end":{"row":28,"column":88}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":87},"end":{"row":28,"column":88}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":86},"end":{"row":28,"column":87}},"text":"&"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":85},"end":{"row":28,"column":86}},"text":"&"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":84},"end":{"row":28,"column":85}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":124},"end":{"row":28,"column":133}},"text":"nestedNum"},{"action":"insertText","range":{"start":{"row":28,"column":124},"end":{"row":28,"column":125}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":125},"end":{"row":28,"column":126}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":126},"end":{"row":28,"column":127}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":127},"end":{"row":28,"column":128}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":124},"end":{"row":28,"column":128}},"text":"nest"},{"action":"insertText","range":{"start":{"row":28,"column":124},"end":{"row":28,"column":130}},"text":"nested"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":130},"end":{"row":28,"column":131}},"text":"U"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":131},"end":{"row":28,"column":132}},"text":"q"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":28,"column":134},"end":{"row":28,"column":135}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":134},"end":{"row":28,"column":135}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":135},"end":{"row":28,"column":136}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":136},"end":{"row":28,"column":137}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":137},"end":{"row":28,"column":138}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":138},"end":{"row":28,"column":139}},"text":"."}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":139},"end":{"row":28,"column":140}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":140},"end":{"row":28,"column":141}},"text":"q"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":141},"end":{"row":28,"column":143}},"text":"()"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":142},"end":{"row":28,"column":144}},"text":"''"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":143},"end":{"row":28,"column":144}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":144},"end":{"row":28,"column":145}},"text":"x"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":145},"end":{"row":28,"column":146}},"text":"p"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":146},"end":{"row":28,"column":147}},"text":"2"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":147},"end":{"row":28,"column":148}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":148},"end":{"row":28,"column":149}},"text":">"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":149},"end":{"row":28,"column":150}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":28,"column":150},"end":{"row":28,"column":151}},"text":"0"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":55},"end":{"row":29,"column":62}},"text":"numAttr"},{"action":"insertText","range":{"start":{"row":29,"column":55},"end":{"row":29,"column":56}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":56},"end":{"row":29,"column":57}},"text":"q"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":55},"end":{"row":29,"column":57}},"text":"uq"},{"action":"insertText","range":{"start":{"row":29,"column":55},"end":{"row":29,"column":61}},"text":"uqAttr"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":63},"end":{"row":29,"column":64}},"text":"1"},{"action":"insertText","range":{"start":{"row":29,"column":63},"end":{"row":29,"column":64}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":64},"end":{"row":29,"column":65}},"text":"x"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":63},"end":{"row":29,"column":65}},"text":"ex"},{"action":"insertText","range":{"start":{"row":29,"column":63},"end":{"row":29,"column":67}},"text":"exp1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":67},"end":{"row":29,"column":68}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":68},"end":{"row":29,"column":69}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":69},"end":{"row":29,"column":70}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":70},"end":{"row":29,"column":71}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":71},"end":{"row":29,"column":72}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":72},"end":{"row":29,"column":73}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":73},"end":{"row":29,"column":74}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":115},"end":{"row":29,"column":124}},"text":"nestedNum"},{"action":"insertText","range":{"start":{"row":29,"column":115},"end":{"row":29,"column":123}},"text":"nestedUq"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":125},"end":{"row":29,"column":126}},"text":"1"},{"action":"insertText","range":{"start":{"row":29,"column":125},"end":{"row":29,"column":133}},"text":"exp2 > 0"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":30},"end":{"row":29,"column":31}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":29,"column":30},"end":{"row":29,"column":31}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":131,"column":63},"end":{"row":132,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":132,"column":0},"end":{"row":132,"column":12}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":12},"end":{"row":132,"column":13}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":13},"end":{"row":132,"column":14}},"text":"e"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":14},"end":{"row":132,"column":15}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":15},"end":{"row":132,"column":16}},"text":"u"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":16},"end":{"row":132,"column":17}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":17},"end":{"row":132,"column":18}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":18},"end":{"row":132,"column":19}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":19},"end":{"row":132,"column":20}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":20},"end":{"row":132,"column":21}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":21},"end":{"row":132,"column":22}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":132,"column":22},"end":{"row":132,"column":23}},"text":";"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":19,"column":42},"end":{"row":19,"column":43}},"text":"\\"}]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":20,"column":14},"end":{"row":20,"column":14},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":103,"state":"no_regex","mode":"ace/mode/javascript"}},"timestamp":1411550666347,"hash":"c7a154bc0e31a7b27f27c56ac4544b02c720b50b"} | ||
{"filter":false,"title":"test.js","tooltip":"/test/test.js","undoManager":{"mark":100,"position":100,"stack":[[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":47},"end":{"row":32,"column":48}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":55},"end":{"row":32,"column":56}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":55},"end":{"row":32,"column":56}},"text":"]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":55},"end":{"row":32,"column":56}},"text":":"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":56},"end":{"row":32,"column":57}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":57},"end":{"row":32,"column":58}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":58},"end":{"row":32,"column":59}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":59},"end":{"row":32,"column":60}},"text":"<"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":60},"end":{"row":32,"column":61}},"text":">"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":60},"end":{"row":32,"column":61}},"text":">"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":59},"end":{"row":32,"column":60}},"text":"<"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":59},"end":{"row":32,"column":60}},"text":">"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":59},"end":{"row":32,"column":60}},"text":">"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":59},"end":{"row":32,"column":60}},"text":"!"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":60},"end":{"row":32,"column":61}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":61},"end":{"row":32,"column":62}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":62},"end":{"row":32,"column":63}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":62},"end":{"row":32,"column":63}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":64},"end":{"row":32,"column":65}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":65},"end":{"row":32,"column":66}},"text":"}"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":32,"column":40},"end":{"row":32,"column":43}},"text":"2 >"},{"action":"insertText","range":{"start":{"row":32,"column":40},"end":{"row":32,"column":41}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":41},"end":{"row":32,"column":42}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":42},"end":{"row":32,"column":43}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":43},"end":{"row":32,"column":44}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":32,"column":44},"end":{"row":32,"column":45}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":33,"column":34},"end":{"row":33,"column":42}},"text":"myclass2"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":33,"column":33},"end":{"row":33,"column":34}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":42},"end":{"row":29,"column":43}},"text":"c"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":43},"end":{"row":29,"column":44}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":44},"end":{"row":29,"column":45}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":45},"end":{"row":29,"column":46}},"text":"d"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":46},"end":{"row":29,"column":47}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":47},"end":{"row":29,"column":48}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":48},"end":{"row":29,"column":49}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":49},"end":{"row":29,"column":50}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":50},"end":{"row":29,"column":51}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":51},"end":{"row":29,"column":52}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":52},"end":{"row":29,"column":53}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":29,"column":53},"end":{"row":29,"column":54}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":35,"column":7},"end":{"row":36,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":36,"column":0},"end":{"row":36,"column":4}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":36,"column":4},"end":{"row":37,"column":0}},"text":"\n"},{"action":"insertText","range":{"start":{"row":37,"column":0},"end":{"row":37,"column":4}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":4},"end":{"row":37,"column":75}},"text":"it('should build class attribute from conditional objects', function(){"},{"action":"insertText","range":{"start":{"row":37,"column":75},"end":{"row":38,"column":0}},"text":"\n"},{"action":"insertLines","range":{"start":{"row":38,"column":0},"end":{"row":43,"column":0}},"lines":[" "," assert.equal("," ht.div({ class: { myclass1: 1 === 1, myclass2: 1 !== 1 } }).toString(),"," '<div class=\"myclass1\"></div>'"," );"]},{"action":"insertText","range":{"start":{"row":43,"column":0},"end":{"row":43,"column":7}},"text":" });"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":37,"column":42},"end":{"row":37,"column":53}},"text":"conditional"},{"action":"insertText","range":{"start":{"row":37,"column":42},"end":{"row":37,"column":43}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":43},"end":{"row":37,"column":44}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":44},"end":{"row":37,"column":45}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":45},"end":{"row":37,"column":46}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":46},"end":{"row":37,"column":47}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":47},"end":{"row":37,"column":48}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":48},"end":{"row":37,"column":49}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":49},"end":{"row":37,"column":50}},"text":"f"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":50},"end":{"row":37,"column":51}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":51},"end":{"row":37,"column":52}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":52},"end":{"row":37,"column":53}},"text":"t"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":53},"end":{"row":37,"column":54}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":54},"end":{"row":37,"column":55}},"text":"i"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":55},"end":{"row":37,"column":56}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":56},"end":{"row":37,"column":57}},"text":"g"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":57},"end":{"row":37,"column":58}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":58},"end":{"row":37,"column":59}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":59},"end":{"row":37,"column":60}},"text":"n"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":60},"end":{"row":37,"column":61}},"text":"d"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":61},"end":{"row":37,"column":62}},"text":"/"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":62},"end":{"row":37,"column":63}},"text":"o"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":37,"column":63},"end":{"row":37,"column":64}},"text":"r"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":28},"end":{"row":40,"column":29}},"text":"{"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":28},"end":{"row":40,"column":29}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":28},"end":{"row":40,"column":29}},"text":"["}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":29},"end":{"row":40,"column":30}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":30},"end":{"row":40,"column":31}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":39},"end":{"row":40,"column":40}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":":"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":","}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":40},"end":{"row":40,"column":41}},"text":","}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":41},"end":{"row":40,"column":42}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":42},"end":{"row":40,"column":43}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":42},"end":{"row":40,"column":43}},"text":"'"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":42},"end":{"row":40,"column":43}},"text":"["}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":42},"end":{"row":40,"column":43}},"text":"["}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":42},"end":{"row":40,"column":43}},"text":"{"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":56},"end":{"row":40,"column":57}},"text":"!"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":56},"end":{"row":40,"column":57}},"text":"="}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":38},"end":{"row":40,"column":39}},"text":"1"}]}],[{"group":"doc","deltas":[{"action":"removeText","range":{"start":{"row":40,"column":41},"end":{"row":40,"column":62}},"text":"{ myclass2: 1 === 1 }"},{"action":"insertText","range":{"start":{"row":40,"column":41},"end":{"row":40,"column":81}},"text":"{ myclass1: 1 === 1, myclass2: 1 !== 1 }"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":81},"end":{"row":40,"column":82}},"text":" "}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":40,"column":82},"end":{"row":40,"column":83}},"text":"]"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":25},"end":{"row":41,"column":26}},"text":"m"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":26},"end":{"row":41,"column":27}},"text":"y"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":27},"end":{"row":41,"column":28}},"text":"c"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":28},"end":{"row":41,"column":29}},"text":"l"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":29},"end":{"row":41,"column":30}},"text":"a"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":30},"end":{"row":41,"column":31}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":31},"end":{"row":41,"column":32}},"text":"s"}]}],[{"group":"doc","deltas":[{"action":"insertText","range":{"start":{"row":41,"column":32},"end":{"row":41,"column":33}},"text":" "}]}]]},"ace":{"folds":[],"scrolltop":240,"scrollleft":0,"selection":{"start":{"row":41,"column":33},"end":{"row":41,"column":33},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":16,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1411662024557,"hash":"bdcaaf2b48fa5ea15b1ce7b7e093ed32b15c8ef6"} |
47
nant.js
@@ -48,19 +48,9 @@ function exports() { | ||
var attrArr = ['']; | ||
var aCls = self.attrs.class; | ||
if (aCls) { | ||
if(Array.isArray(aCls)) { | ||
self.attrs.class = aCls.join(' ') ; | ||
} else if( typeof aCls === 'object') { | ||
var clsArr = []; | ||
for(var clsName in aCls) { | ||
if(aCls[clsName]) { | ||
clsArr.push(clsName); | ||
} | ||
} | ||
self.attrs.class = clsArr.join(' ') ; | ||
for (var k in self.attrs) { | ||
var val = false; | ||
if( k === 'class' ) { | ||
val = getClassAttr(self.attrs.class); | ||
} else { | ||
val = getAttr( self.attrs[k] ); | ||
} | ||
} | ||
for (var k in self.attrs) { | ||
var val = getAttr( self.attrs[k] ); | ||
var normK = ccToUnd(k); | ||
@@ -73,3 +63,4 @@ if(val === true ) { | ||
attrArr.push( normK + '=' + qs + val + qs ); | ||
} | ||
} | ||
} | ||
@@ -79,2 +70,24 @@ | ||
function getClassAttr(aCls) { | ||
var ret = aCls; | ||
if (aCls) { | ||
if(Array.isArray(aCls)) { | ||
var strArr = []; | ||
for (var i = 0; i < aCls.length; i++) { | ||
strArr.push( getClassAttr(aCls[i], true) ); | ||
} | ||
ret = strArr.join(' '); | ||
} else if( typeof aCls === 'object') { | ||
var clsArr = []; | ||
for(var clsName in aCls) { | ||
if(aCls[clsName]) { | ||
clsArr.push(clsName); | ||
} | ||
} | ||
ret = clsArr.join(' ') ; | ||
} | ||
} | ||
return ret || false; | ||
} | ||
function getAttr(val, nested) { | ||
@@ -81,0 +94,0 @@ if( val === null || val === undefined || val === false ) { |
{ | ||
"name": "nant", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A 'not-another-templating-language' for javascripters", | ||
@@ -5,0 +5,0 @@ "main": "nant.js", |
@@ -127,7 +127,6 @@ `nant` lets you generate your html templates with plain javascript (browser and server). | ||
or a conditional object, only members with a truthy value will be picked | ||
class can also be a conditional object, only members with a truthy value will be picked | ||
```javascript | ||
ht.input({ class: { class1: true, class2: 1 > 2 }) | ||
ht.input({ class: { class1: 1 < 2, class2: 1 > 2 }) | ||
``` | ||
@@ -137,2 +136,11 @@ ```html | ||
``` | ||
you may also use array of both string/conditional object | ||
```javascript | ||
ht.input({ class: [ 'myclass', { class1: 1 < 2, class2: 1 > 2 } ]) | ||
``` | ||
```html | ||
<input class="myclass class1"> | ||
``` | ||
------------------------------------------------------------------------------------------ | ||
@@ -217,3 +225,2 @@ ###Object attributes (aka angular/knockout/... users) | ||
label, | ||
// css classes can also be passed as conditional object { class1: condition, class2: condition, ...} | ||
ht.div({ class: { 'col-sm-10': true, 'col-sm-offset-2': !label }}, input ) | ||
@@ -220,0 +227,0 @@ ) |
var assert = require("assert") | ||
var nant = require("../nant"), ht = nant.ht; | ||
describe('nant', function(){ | ||
describe('attributes', function(){ | ||
it('should build attributes from primitives (number, string, null, undefined, true, false)', function(){ | ||
assert.equal( | ||
ht.div({ strAttr: 'strAttr', numAttr: 1, trueAttr: true, falseAttr: false, nullAttr: null, undefAttr: undefined }).toString(), | ||
'<div str-attr="strAttr" num-attr="1" true-attr></div>' | ||
); | ||
}); | ||
describe('attributes', function(){ | ||
it('should build attributes from primitives (number, string, null, undefined, true, false)', function(){ | ||
assert.equal( | ||
ht.div({ strAttr: 'strAttr', numAttr: 1, trueAttr: true, falseAttr: false, nullAttr: null, undefAttr: undefined }).toString(), | ||
'<div str-attr="strAttr" num-attr="1" true-attr></div>' | ||
); | ||
}); | ||
describe('attributes', function(){ | ||
it('should build attributes from objects', function(){ | ||
assert.equal( | ||
ht.div({ objAttr: { strAttr: 'strAttr', numAttr: 1, nested: { nestedStr: 'nest\'edStr', nestedNum: 1 } } }).toString(), | ||
'<div obj-attr="{strAttr: \'strAttr\', numAttr: 1, nested: {nestedStr: \'nest\\\'edStr\', nestedNum: 1}}"></div>' | ||
); | ||
}); | ||
it('should build class attribute from strings', function(){ | ||
assert.equal( | ||
ht.div({ class: 'myclass' }).toString(), | ||
'<div class="myclass"></div>' | ||
); | ||
}); | ||
describe('attributes', function(){ | ||
it('should let nested props of object attributes unquoted', function(){ | ||
assert.equal( | ||
ht.div({ objAttr: { strAttr: 'strAttr', uqAttr: nant.uq('exp1===true'), nested: { nestedStr: 'nest\'edStr', nestedUq: nant.uq('exp2 > 0') } } }).toString(), | ||
'<div obj-attr="{strAttr: \'strAttr\', uqAttr: exp1===true, nested: {nestedStr: \'nest\\\'edStr\', nestedUq: exp2 > 0}}"></div>' | ||
); | ||
}); | ||
it('should build class attribute from arrays', function(){ | ||
assert.equal( | ||
ht.div({ class: ['myclass1', 'myclass2'] }).toString(), | ||
'<div class="myclass1 myclass2"></div>' | ||
); | ||
}); | ||
it('should build class attribute from conditional objects', function(){ | ||
assert.equal( | ||
ht.div({ class: { myclass1: 1 === 1, myclass2: 1 !== 1 } }).toString(), | ||
'<div class="myclass1"></div>' | ||
); | ||
}); | ||
it('should build class attribute from array of string and/or objects', function(){ | ||
assert.equal( | ||
ht.div({ class: [ 'myclass', { myclass1: 1 === 1, myclass2: 1 !== 1 } ] }).toString(), | ||
'<div class="myclass myclass1"></div>' | ||
); | ||
}); | ||
it('should build attributes from objects', function(){ | ||
assert.equal( | ||
ht.div({ objAttr: { strAttr: 'strAttr', numAttr: 1, nested: { nestedStr: 'nest\'edStr', nestedNum: 1 } } }).toString(), | ||
'<div obj-attr="{strAttr: \'strAttr\', numAttr: 1, nested: {nestedStr: \'nest\\\'edStr\', nestedNum: 1}}"></div>' | ||
); | ||
}); | ||
it('should let nested props of object attributes unquoted', function(){ | ||
assert.equal( | ||
ht.div({ objAttr: { strAttr: 'strAttr', uqAttr: nant.uq('exp1===true'), nested: { nestedStr: 'nest\'edStr', nestedUq: nant.uq('exp2 > 0') } } }).toString(), | ||
'<div obj-attr="{strAttr: \'strAttr\', uqAttr: exp1===true, nested: {nestedStr: \'nest\\\'edStr\', nestedUq: exp2 > 0}}"></div>' | ||
); | ||
}); | ||
}); | ||
@@ -116,3 +146,14 @@ | ||
}); | ||
}); | ||
describe('mixins', function() { | ||
it('should not do anything if given an empty mixin', function () { | ||
assert.doesNotThrow( | ||
function() { | ||
ht.div().mixin(); | ||
} | ||
); | ||
}); | ||
it('should apply attributes mixin when passed an attributes param', function(){ | ||
@@ -146,2 +187,2 @@ | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77618
306
376
1