This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
Releases: spyfu/underscore-template-strict-loader
Releases · spyfu/underscore-template-strict-loader
0.3.0
New
- Added
dataObjName
property (@denisraslov, #3)
0.2.0
update the version
0.1.10
0.1.9
Babel transforms can be applied by defining a babel
configuration option.
0.1.8
No longer relies on a deprecated feature, see webpack/loader-utils#56 for more information.
0.1.7
0.1.6
Don't prefix built in javascript objects such as Math
or window
0.1.5
Allows global variables to be ignored via the globals
option.
query: {
templateSettings: { /* underscore template config */ },
// use the globals option to define variables that
// should not be prefixed
globals: ['$', 'jQuery', /* etc... */],
// add this only if you want to prefix the template with
// an HTML comment with the path to the file for debugging.
addFilenameComment: true
},
0.1.4
Fixes a bug where variables from function arguments were being prefixed. In the example below, hello
should be prefixed, while world
should not.
<% _.each(hello, function(world) { %>
<%= world %>
<% }); %>
0.1.3
0.1.3