288 Commits

Author SHA1 Message Date
Patrick Steele-Idem
7c00085380 #78 Change compiled templates to export a loaded Template instance 2015-05-26 16:57:39 -06:00
Dan Cech
18048eeadf further tighten entity-matching regex, add basic test for entity matching 2015-05-21 16:20:37 -04:00
Dan Cech
2962be0fab be less permissive when looking for entities to decode 2015-05-20 21:46:22 -04:00
Phillip Gates-Idem
73e9a3420a Allow taglibs to be imported from other taglibs 2015-05-14 15:44:05 -04:00
Patrick Steele-Idem
2c95b1ed20 Code comments and other code cleanup 2015-04-24 11:40:58 -06:00
Patrick Steele-Idem
183c3c62c4 Fixes #61 Simplify parent/child relationships 2015-04-23 18:43:41 -06:00
Patrick Steele-Idem
be1072a146 Fixes #60 Don't replace special operators when for body functions 2015-04-08 12:19:30 -06:00
Patrick Steele-Idem
553a284233 Fixes #52 Remove JavaScript comments from JSON taglib files before parsing 2015-03-20 13:01:41 -06:00
Patrick Steele-Idem
b7fc101663 Fixes #51 Allow body content to be mapped to a String input property 2015-03-20 13:01:04 -06:00
Phillip Gates-Idem
7ebae61a1d Fixes #48 name in marko-tag.json should override default name given during discovery 2015-03-17 14:37:04 -04:00
Patrick Steele-Idem
d0998ad9f1 Fixes #47 - Added support for "taglib-imports" 2015-03-16 14:27:33 -06:00
Phillip Gates-Idem
d262c1512b Fixes #31 - Add support for providing prefix when scanning for tags 2015-03-08 20:05:13 -04:00
Patrick Steele-Idem
1ced83a177 Allow code to be generated lazily using a function 2015-03-06 11:03:11 -07:00
Patrick Steele-Idem
72b8b649ff Expose helper method for getting access to the escape XML functions 2015-03-04 15:13:51 -07:00
Patrick Steele-Idem
780738c10a Fix #38 again - accidentally merged out a key part 2015-02-25 13:32:00 -07:00
Patrick Steele-Idem
05c2938e3b Improved fix for #38 - Better merging of tags 2015-02-25 11:33:57 -07:00
Patrick Steele-Idem
a7ccf97bb3 Fixes #38 Prevent problems due to duplicate taglibs 2015-02-25 11:19:52 -07:00
Patrick Steele-Idem
79aa92254f Fixes #36 Deprecated invokeBody in favor of renderBody 2015-02-23 16:35:30 -07:00
Phillip Gates-Idem
c9b062da45 Fixes #35 Add support for <compiler-options> tag 2015-02-17 18:57:00 -05:00
Patrick Steele-Idem
288562d205 Fixes #34 2015-02-16 13:42:18 -07:00
Patrick Steele-Idem
e7166be149 Reset rendererJSFile after each iteration 2015-02-16 13:22:25 -07:00
Patrick Steele-Idem
4d9cdfa706 Fixed #33 2015-02-16 13:03:53 -07:00
Patrick Steele-Idem
9da27606dd Fixes #32 Don't use module.exports in compiled output 2015-02-13 17:49:02 -07:00
Patrick Steele-Idem
ab3664bdbb Added support for adding static code to a compiled template 2015-02-13 13:59:06 -07:00
Patrick Steele-Idem
df86ec83ae Fixes #29 Use fs.realpath to avoid loading same taglib multiple times 2015-02-04 17:06:12 -07:00
Patrick Steele-Idem
68d5e2e7cb Allow flags to be automatically set on Node instances when certain attrs are encountered. 2015-02-04 11:53:43 -07:00
Patrick Steele-Idem
9177ad7c12 Added support for setting arbitrary flags on Node instances 2015-02-04 11:53:43 -07:00
Benjamin Kniffler
6136838d17 Even less redundant 2015-02-01 13:20:18 +01:00
Benjamin Kniffler
9d6a444fc6 Removed redundant code 2015-02-01 13:11:16 +01:00
Benjamin Kniffler
bd3a2fa7e9 Add support for .marko.html templates 2015-01-31 17:02:29 +01:00
Patrick Steele-Idem
f26f220860 Fix rendering of static boolean attributes 2015-01-25 08:29:29 -07:00
Phil Gates-Idem
5d85dd2e4f Fixes #8 2014-12-17 14:50:06 -05:00
Patrick Steele-Idem
2e7b59e10b Don't normalize the root directory 2014-12-15 10:23:59 -07:00
Patrick Steele-Idem
88abe75338 Normalize exclude dirs 2014-12-15 10:17:46 -07:00
Patrick Steele-Idem
ddc6cd5de8 Added support for "body-only-if" 2014-12-10 21:22:51 -07:00
Patrick Steele-Idem
009e99bfe9 Provide hooks to clear caches 2014-12-10 15:21:37 -07:00
Patrick Steele-Idem
1eded7b2ae Allow boolean tree attributes (attributes with no value) 2014-11-04 11:04:21 -07:00
Patrick Steele-Idem
2e6b2a1fc2 Include optimizer.json for mark-async and marko-layout 2014-10-28 18:03:09 -06:00
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