Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Releases: spyfu/underscore-template-strict-loader

0.3.0

08 Oct 22:12
Compare
Choose a tag to compare

New

0.2.0

12 Jun 19:13
Compare
Choose a tag to compare
update the version

0.1.10

09 Jun 17:26
Compare
Choose a tag to compare

Fixed

  • Fix support for object literals, function declarations, and try/catch statements (@marcokam, #1)

0.1.9

02 Mar 18:45
Compare
Choose a tag to compare

Babel transforms can be applied by defining a babel configuration option.

0.1.8

01 Mar 22:00
Compare
Choose a tag to compare

No longer relies on a deprecated feature, see webpack/loader-utils#56 for more information.

0.1.7

23 Feb 23:31
Compare
Choose a tag to compare

0.1.6

02 Feb 22:54
Compare
Choose a tag to compare

Don't prefix built in javascript objects such as Math or window

0.1.5

02 Feb 21:33
Compare
Choose a tag to compare

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

02 Feb 19:46
Compare
Choose a tag to compare

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

02 Feb 19:43
Compare
Choose a tag to compare
0.1.3