-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
- No instructions on how to compile it to be a browser version [coffee --join dot.js --compile dot_core.coffee settings/original.coffee do_t.coffee] appears to work. (As a side note the dot.js file that is compiled this way; is not good for node then, because it has the full settings/dotcore but it tries to "require" them in the node section module setup)
- doT.template is not defined; based on the older version of the codebase; it looks like .compile is supposed to be the same thing. So adding a
"template: DotCore::compile" to the Dot_core.coffee file after the compile definition appears to fix it (mostly). - Examples\Browsersample.html has two issues and appears to be broken under your coffeescript version codebase. 1st, it references ../dot.min.js; this file doesn't exist. So switching it to ../dot.js fixes it so it can run. But the {{=it.title}} doesn't print; it prints "undefined" instead. Also it is missing the full headertmpl, and the mycustominjectionintoheader.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels