100 Commits

Author SHA1 Message Date
Phil Gates-Idem
5a6266754b Fixes #4 2014-10-28 10:19:21 -04:00
Patrick Steele-Idem
f1cc520355 Removed unsupported compiler option ("minify") 2014-10-22 16:32:10 -06:00
Patrick Steele-Idem
8f171379bb Fixed error reporting 2014-10-22 14:57:43 -06:00
Patrick Steele-Idem
294cd24bd3 Changes to make the compiler work on the client-side when using a module bundler 2014-10-22 11:11:54 -06:00
Patrick Steele-Idem
fbc55eff00 Normalize \r\n to \n 2014-10-07 10:24:29 -07:00
Patrick Steele-Idem
c443055de1 marko-taglib-async --> marko-async, marko-taglib-layout --> marko-layout 2014-09-19 11:53:58 -06:00
Patrick Steele-Idem
33ab7744a9 Renamed "context" to "out" 2014-09-19 09:33:04 -06:00
Patrick Steele-Idem
36a51b05bb Renamed to marko 2014-09-18 18:02:41 -06:00
Patrick Steele-Idem
e49d0f31cb Simplified checkUpToDate() and added getLastModified() 2014-09-12 17:02:01 -06:00
Patrick Steele-Idem
8d564e4954 Better handling of null/undefined expressions. 2014-08-13 09:49:07 -06:00
Phil Gates-Idem
a49554b4cb When compiling templates that use string concatenation, treat null and undefined as empty strings so that the the literal "null" and "undefined" don't get written 2014-08-13 00:37:18 -04:00
Phil Gates-Idem
538ff0b336 Adding better caching of taglib lookup in node_modules directory 2014-08-10 21:58:20 -04:00
Patrick Steele-Idem
4752706da3 Allow arbitrary data to be associated with nodes 2014-07-29 13:40:08 -06:00
Patrick Steele-Idem
6ac26ef423 Fixing error handling bug resulting from typo 2014-07-29 13:20:33 -06:00
Phil Gates-Idem
adf0b5de41 Fixing usage of calling compile function with callback 2014-07-28 22:32:32 -04:00
Patrick Steele-Idem
9de9910b41 Don't encode HTML characters inside a script block 2014-07-23 13:37:48 -06:00
Patrick Steele-Idem
1294d9f538 Added getRequirePath to both TemplateBuilder and TemplateCompiler 2014-07-22 23:56:43 -06:00
Patrick Steele-Idem
19fe5bc2a9 Added getRequirePath to TemplateBuilder 2014-07-22 23:52:40 -06:00
Patrick Steele-Idem
f420882fdf Allow dynamic attributes for template tags 2014-07-22 22:29:10 -06:00
Patrick Steele-Idem
90274ad004 Don't use new lines in error message since bluebird truncates the error message incorrectly... 2014-07-22 17:42:08 -06:00
Patrick Steele-Idem
d285e55a06 Preserve whitespace for script tags by default 2014-07-21 17:38:04 -06:00
Patrick Steele-Idem
c80b8feda3 Allow tag name to be passed to createNode 2014-07-07 15:26:45 -06:00
Patrick Steele-Idem
bcb9134b18 Allow attribute descriptions 2014-06-20 15:22:56 -06:00
Patrick Steele-Idem
98598da83c Added semicolon for statement 2014-06-18 21:02:25 -06:00
Patrick Steele-Idem
3f322ecfe5 Performance optimizations for template resolution in compiled templates 2014-06-18 17:16:36 -06:00
Patrick Steele-Idem
26f899eff1 raptor-ecma --> raptor-polyfill 2014-06-17 16:18:12 -06:00
Patrick Steele-Idem
ba324aa370 Fixed attribute lookup ordering to better support global attributes 2014-06-06 12:39:32 -06:00
Patrick Steele-Idem
a53588747a Fixed getAttributes() and added getAttributesNS() 2014-06-06 11:41:30 -06:00
Phil Gates-Idem
8fb26da1ac Merge branch 'v1.0'
Conflicts:
	package.json
2014-06-05 14:34:04 -04:00
Patrick Steele-Idem
4a33eda751 Removed dead code 2014-06-04 21:55:27 -06:00
Patrick Steele-Idem
37f16c541f Load async and layout taglibs from installed module 2014-06-04 21:55:18 -06:00
Patrick Steele-Idem
dc233933b4 Set localName property for dynamic tag handler nodes for better debugging 2014-06-04 21:54:52 -06:00
Patrick Steele-Idem
7591bbd7cb Expose hasExpression 2014-06-04 21:54:31 -06:00
Patrick Steele-Idem
37bbc0d51f Improved how vars can be added to compiled template 2014-06-04 21:54:12 -06:00
Patrick Steele-Idem
5d483c3af8 Simplified how to generate function calls 2014-06-04 21:53:58 -06:00
Patrick Steele-Idem
39b3557c83 Make qName, localName, and tagName getters/setters 2014-06-04 21:52:59 -06:00
Patrick Steele-Idem
499a8c9259 Change to allow multiple dynamic attributes for element nodes 2014-06-04 21:52:33 -06:00
Patrick Steele-Idem
b65d1a3205 Added helper method to be able to detect if a string contains an expression 2014-06-04 21:29:21 -06:00
Phil Gates-Idem
727a4c9166 Fixing bug which caused attributes from '*' tags from being found if referenced within another tag 2014-05-27 00:43:56 -04:00
Patrick Steele-Idem
cae229cc6a Added support for addBeforeCode and addAfterCode to all nodes 2014-05-07 14:52:12 -06:00
Patrick Steele-Idem
24929b8734 Fixed error reporting 2014-05-07 14:51:48 -06:00
Patrick Steele-Idem
9520a69c83 Dependency cleanup 2014-05-06 10:45:13 -06:00
Patrick Steele-Idem
04b96556c7 Fixed unnecessary parentheses 2014-05-05 22:00:18 -06:00
Phil Gates-Idem
e1872eeaaa Fixing bug that occurs when string concatenation is being used and one of the parts is a ternary operator expression. Each part needs to be surrounded with parentheses. 2014-05-01 16:19:45 -04:00
Patrick Steele-Idem
3adecbe56c Fixed regular expression for extracting tag def 2014-04-30 10:54:19 -06:00
Patrick Steele-Idem
1c6dd4f6cc Flattened directory structure a bit by dropping lib 2014-04-29 22:21:20 -06:00
Patrick Steele-Idem
64be29ca79 Refactored out core taglibs into separate modules and cleaned up code 2014-04-28 22:29:54 -06:00
Patrick Steele-Idem
68f2a1ae3e fixed createTagHandlerNode by removing ns arg 2014-04-14 15:10:57 -06:00
Patrick Steele-Idem
da274538ab Dropped support for namespaces and updated docs and tests 2014-04-14 13:44:38 -06:00
Patrick Steele-Idem
b48c2ff030 Renamed "helpers" arg " __helpers" 2014-04-10 11:41:20 -06:00