https://bugzilla.wikimedia.org/show_bug.cgi?id=64735
Bug ID: 64735
Summary: Mantle: support handlebars compilation
Product: MobileFrontend
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Feature requests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Handlebars templates can be precompiled into JavaScript, see
http://handlebarsjs.com/precompilation.html . The compiler uses nodejs, so it
might be a while before ResourceLoader can compile templates as needed in
production. But it would be nice if RL could check for the existence of
myTemplateName.handlebars.js , and use that as the template instead of running
Handlebars.compile().
The other wrinkle is the compiled template adds itself as
Handlebars.templates.myTemplateName, so this would have to be aliased.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l