Opened 4 years ago
Last modified 2 years ago
#473 new enhancement
a2js: JavaScripr_Resource convention
Reported by: | Maxim Reznik | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 19.0 |
Component: | Matreshka - a2js | Version: | |
Keywords: | Cc: |
Description
New convention to import external text resources.
with League.Strings; package Test is CSS : constant League.Strings.Universal_String with Import, Convention => JavaScripr_Resource, Link_Name => "static/index.css";
Should generate something like this:
define('test', ['standard', 'text!static/index.css', 'league-strings'], function(_ec,_rc_css) { ... _ec.css = _rc_css; ... })
See more info here https://github.com/requirejs/text
Note:
See TracTickets
for help on using tickets.
Milestone renamed