grunt-contrib-jade
Advanced tools
Comparing version 0.5.1 to 0.6.0
{ | ||
"name": "grunt-contrib-jade", | ||
"description": "Compile Jade templates.", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-jade", | ||
@@ -31,3 +31,3 @@ "author": { | ||
"dependencies": { | ||
"jade": "~0.27.2", | ||
"jade": "~0.30.0", | ||
"grunt-lib-contrib": "~0.5.1" | ||
@@ -34,0 +34,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-jade [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-jade.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jade) | ||
# grunt-contrib-jade [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-jade.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-jade) | ||
@@ -190,10 +190,11 @@ > Compile Jade templates. | ||
* 2013-05-06 v0.5.1 Allow options.data to be a function | ||
* 2013-03-07 v0.5.0 Allow compilation to JS functions Support JST and AMD formats | ||
* 2013-02-15 v0.4.0 First official release for Grunt 0.4.0. | ||
* 2013-01-24 v0.4.0rc7 Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. | ||
* 2013-01-09 v0.4.0rc5 Updating to work with grunt v0.4.0rc5. Switching to this.files api. | ||
* 2012-10-12 v0.3.1 Rename grunt-contrib-lib dep to grunt-lib-contrib. | ||
* 2012-09-24 v0.3.0 Options no longer accepted from global config key. | ||
* 2012-09-10 v0.2.0 Refactored from grunt-contrib into individual repo. | ||
* 2013-05-14 v0.6.0 Bump jade version / fix tests | ||
* 2013-05-05 v0.5.1 Allow options.data to be a function | ||
* 2013-03-06 v0.5.0 Allow compilation to JS functions Support JST and AMD formats | ||
* 2013-02-14 v0.4.0 First official release for Grunt 0.4.0. | ||
* 2013-01-23 v0.4.0rc7 Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. | ||
* 2013-01-08 v0.4.0rc5 Updating to work with grunt v0.4.0rc5. Switching to this.files api. | ||
* 2012-10-11 v0.3.1 Rename grunt-contrib-lib dep to grunt-lib-contrib. | ||
* 2012-09-23 v0.3.0 Options no longer accepted from global config key. | ||
* 2012-09-09 v0.2.0 Refactored from grunt-contrib into individual repo. | ||
@@ -204,2 +205,2 @@ --- | ||
*This file was generated on Mon May 06 2013 22:39:17.* | ||
*This file was generated on Tue May 14 2013 17:04:59.* |
define(['jade'], function(jade) { if(jade && jade['runtime'] !== undefined) { jade = jade.runtime; } | ||
return function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
return function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<div id="test" class="test"><span id="data">data</span>'); | ||
buf.push("<div id=\"test\" class=\"test\"><span id=\"data\">data</span>"); | ||
if ( test) | ||
{ | ||
buf.push('<div>testing</div>'); | ||
buf.push("<div>testing</div>"); | ||
} | ||
buf.push('</div>'); | ||
buf.push("</div>"); | ||
} | ||
@@ -15,0 +13,0 @@ return buf.join(""); |
define(['jade'], function(jade) { if(jade && jade['runtime'] !== undefined) { jade = jade.runtime; } | ||
return function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
return function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<div id="test" class="test"><span id="data">data</span>'); | ||
buf.push("<div id=\"test\" class=\"test\"><span id=\"data\">data</span>"); | ||
if ( test) | ||
{ | ||
buf.push('<div>testing 2</div>'); | ||
buf.push("<div>testing 2</div>"); | ||
} | ||
buf.push('</div>'); | ||
buf.push("</div>"); | ||
} | ||
@@ -15,0 +13,0 @@ return buf.join(""); |
define(['jade'], function(jade) { if(jade && jade['runtime'] !== undefined) { jade = jade.runtime; } | ||
return function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
return function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<html><head><title>TEST</title></head><body></body></html>'); | ||
var a = 'hello jade test' | ||
buf.push('<p>'); | ||
var __val__ = a | ||
buf.push(escape(null == __val__ ? "" : __val__)); | ||
buf.push('</p>'); | ||
buf.push("<html><head><title>TEST</title></head><body></body></html>"); | ||
var a = 'hello jade test' | ||
buf.push("<p>" + (jade.escape(null == (jade.interp = a) ? "" : jade.interp)) + "</p>"); | ||
} | ||
@@ -15,0 +10,0 @@ return buf.join(""); |
define(['jade'], function(jade) { if(jade && jade['runtime'] !== undefined) { jade = jade.runtime; } | ||
return function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
return function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<div>'); | ||
var __val__ = year | ||
buf.push(escape(null == __val__ ? "" : __val__)); | ||
buf.push('</div>'); | ||
buf.push("<div>" + (jade.escape(null == (jade.interp = year) ? "" : jade.interp)) + "</div>"); | ||
} | ||
@@ -13,0 +8,0 @@ return buf.join(""); |
this["JST"] = this["JST"] || {}; | ||
this["JST"]["jade"] = function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
this["JST"]["jade"] = function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<div id="test" class="test"><span id="data">data</span>'); | ||
buf.push("<div id=\"test\" class=\"test\"><span id=\"data\">data</span>"); | ||
if ( test) | ||
{ | ||
buf.push('<div>testing</div>'); | ||
buf.push("<div>testing</div>"); | ||
} | ||
buf.push('</div>'); | ||
buf.push("</div>"); | ||
} | ||
return buf.join(""); | ||
}; |
this["JST"] = this["JST"] || {}; | ||
this["JST"]["jade2"] = function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
this["JST"]["jade2"] = function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<div id="test" class="test"><span id="data">data</span>'); | ||
buf.push("<div id=\"test\" class=\"test\"><span id=\"data\">data</span>"); | ||
if ( test) | ||
{ | ||
buf.push('<div>testing 2</div>'); | ||
buf.push("<div>testing 2</div>"); | ||
} | ||
buf.push('</div>'); | ||
buf.push("</div>"); | ||
} | ||
return buf.join(""); | ||
}; |
this["JST"] = this["JST"] || {}; | ||
this["JST"]["jadeInclude"] = function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
this["JST"]["jadeInclude"] = function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<html><head><title>TEST</title></head><body></body></html>'); | ||
var a = 'hello jade test' | ||
buf.push('<p>'); | ||
var __val__ = a | ||
buf.push(escape(null == __val__ ? "" : __val__)); | ||
buf.push('</p>'); | ||
buf.push("<html><head><title>TEST</title></head><body></body></html>"); | ||
var a = 'hello jade test' | ||
buf.push("<p>" + (jade.escape(null == (jade.interp = a) ? "" : jade.interp)) + "</p>"); | ||
} | ||
return buf.join(""); | ||
}; |
this["JST"] = this["JST"] || {}; | ||
this["JST"]["jadeTemplate"] = function anonymous(locals, attrs, escape, rethrow, merge) { | ||
attrs = attrs || jade.attrs; escape = escape || jade.escape; rethrow = rethrow || jade.rethrow; merge = merge || jade.merge; | ||
this["JST"]["jadeTemplate"] = function anonymous(locals) { | ||
var buf = []; | ||
with (locals || {}) { | ||
var interp; | ||
buf.push('<div>'); | ||
var __val__ = year | ||
buf.push(escape(null == __val__ ? "" : __val__)); | ||
buf.push('</div>'); | ||
buf.push("<div>" + (jade.escape(null == (jade.interp = year) ? "" : jade.interp)) + "</div>"); | ||
} | ||
return buf.join(""); | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
205
0
26383
352
+ Addedamdefine@1.0.1(transitive)
+ Addedcharacter-parser@1.0.2(transitive)
+ Addedcommander@1.1.1(transitive)
+ Addedcss@1.0.8(transitive)
+ Addedcss-parse@1.0.4(transitive)
+ Addedcss-stringify@1.0.5(transitive)
+ Addedis-promise@1.0.1(transitive)
+ Addedjade@0.30.0(transitive)
+ Addedkeypress@0.1.0(transitive)
+ Addedmonocle@0.1.50(transitive)
+ Addedoptimist@0.3.7(transitive)
+ Addedpromise@2.0.0(transitive)
+ Addedreaddirp@0.2.5(transitive)
+ Addedsource-map@0.1.43(transitive)
+ Addedtransformers@2.0.1(transitive)
+ Addeduglify-js@2.2.5(transitive)
+ Addedwordwrap@0.0.3(transitive)
- Removedcoffee-script@1.4.0(transitive)
- Removedcommander@0.6.1(transitive)
- Removedjade@0.27.7(transitive)
Updatedjade@~0.30.0