"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mode/soy/test.js" between
CodeMirror-5.58.2.tar.gz and CodeMirror-5.58.3.tar.gz

About: CodeMirror is a text editor implemented in JavaScript for the browser and specialized for editing code.

test.js  (CodeMirror-5.58.2):test.js  (CodeMirror-5.58.3)
skipping to change at line 29 skipping to change at line 29
' [tag&bracket </][tag h1][tag&bracket >]', ' [tag&bracket </][tag h1][tag&bracket >]',
'[keyword {/template}]', '[keyword {/template}]',
''); '');
MT('function-test', MT('function-test',
'[keyword {] [callee&variable css]([string "MyClass"])[keyword }]', '[keyword {] [callee&variable css]([string "MyClass"])[keyword }]',
'[tag&bracket <][tag input] [attribute value]=[string "]' + '[tag&bracket <][tag input] [attribute value]=[string "]' +
'[keyword {] [callee&variable index]([variable-2&error $list])[keyword }]' + '[keyword {] [callee&variable index]([variable-2&error $list])[keyword }]' +
'[string "][tag&bracket />]'); '[string "][tag&bracket />]');
MT('soy-element-composition-test',
'[keyword <{][callee&variable foo]()[keyword }]',
'[keyword ></>]');
MT('soy-element-composition-attribute-test',
'[keyword <{][callee&variable foo]()[keyword }]',
'[attribute class]=[string "Foo"]',
'[keyword ></>]');
MT('namespace-test', MT('namespace-test',
'[keyword {namespace] [variable namespace][keyword }]') '[keyword {namespace] [variable namespace][keyword }]')
MT('namespace-with-attribute-test', MT('namespace-with-attribute-test',
'[keyword {namespace] [variable my.namespace.templates] ' + '[keyword {namespace] [variable my.namespace.templates] ' +
'[attribute requirecss]=[string "my.namespace"][keyword }]'); '[attribute requirecss]=[string "my.namespace"][keyword }]');
MT('operators-test', MT('operators-test',
'[keyword {] [atom 1] [operator ==] [atom 1] [keyword }]', '[keyword {] [atom 1] [operator ==] [atom 1] [keyword }]',
'[keyword {] [atom 1] [operator !=] [atom 2] [keyword }]', '[keyword {] [atom 1] [operator !=] [atom 2] [keyword }]',
skipping to change at line 179 skipping to change at line 188
' [keyword {/if}]', ' [keyword {/if}]',
'[keyword {/template}]', '[keyword {/template}]',
''); '');
MT('param-type-and-default-value', MT('param-type-and-default-value',
'[keyword {template] [def .foo][keyword }]', '[keyword {template] [def .foo][keyword }]',
' [keyword {@param] [def bar]: [type bool] = [atom true][keyword }]', ' [keyword {@param] [def bar]: [type bool] = [atom true][keyword }]',
'[keyword {/template}]', '[keyword {/template}]',
''); '');
MT('attribute-type',
'[keyword {template] [def .foo][keyword }]',
' [keyword {@attribute] [def bar]: [type string][keyword }]',
'[keyword {/template}]',
'');
MT('attribute-type-optional',
'[keyword {template] [def .foo][keyword }]',
' [keyword {@attribute] [def bar]: [type string][keyword }]',
'[keyword {/template}]',
'');
MT('attribute-type-all',
'[keyword {template] [def .foo][keyword }]',
' [keyword {@attribute] [type *][keyword }]',
'[keyword {/template}]',
'');
MT('state-variable-reference', MT('state-variable-reference',
'[keyword {template] [def .foo][keyword }]', '[keyword {template] [def .foo][keyword }]',
' [keyword {@param] [def bar]:= [atom true][keyword }]', ' [keyword {@param] [def bar]:= [atom true][keyword }]',
' [keyword {@state] [def foobar]:= [variable-2 $bar][keyword }]', ' [keyword {@state] [def foobar]:= [variable-2 $bar][keyword }]',
'[keyword {/template}]', '[keyword {/template}]',
''); '');
MT('param-type-template', MT('param-type-template',
'[keyword {template] [def .foo][keyword }]', '[keyword {template] [def .foo][keyword }]',
' [keyword {@param] [def renderer]: ([def s]:[type string])=>[type html][k eyword }]', ' [keyword {@param] [def renderer]: ([def s]:[type string])=>[type html][k eyword }]',
 End of changes. 2 change blocks. 
0 lines changed or deleted 27 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)