lodash.template
Advanced tools
Comparing version 3.3.0 to 3.3.1
24
index.js
/** | ||
* lodash 3.3.0 (Custom Build) <https://lodash.com/> | ||
* lodash 3.3.1 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modern modularize exports="npm" -o ./` | ||
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
* Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE> | ||
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE> | ||
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
@@ -239,6 +239,6 @@ * Available under MIT license <https://lodash.com/license> | ||
* // => function(data) { | ||
* var __t, __p = ''; | ||
* __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!'; | ||
* return __p; | ||
* } | ||
* // var __t, __p = ''; | ||
* // __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!'; | ||
* // return __p; | ||
* // } | ||
* | ||
@@ -376,10 +376,10 @@ * // using the `source` property to inline compiled templates for meaningful | ||
function attempt() { | ||
var length = arguments.length, | ||
func = arguments[0]; | ||
var func = arguments[0], | ||
length = arguments.length, | ||
args = Array(length ? length - 1 : 0); | ||
while (--length > 0) { | ||
args[length - 1] = arguments[length]; | ||
} | ||
try { | ||
var args = Array(length ? length - 1 : 0); | ||
while (--length > 0) { | ||
args[length - 1] = arguments[length]; | ||
} | ||
return func.apply(undefined, args); | ||
@@ -386,0 +386,0 @@ } catch(e) { |
{ | ||
"name": "lodash.template", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "The modern build of lodash’s `_.template` as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.template v3.3.0 | ||
# lodash.template v3.3.1 | ||
@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) `_.template` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. | ||
See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.3.0-npm-packages/lodash.template) for more details. | ||
See the [documentation](https://lodash.com/docs#template) or [package source](https://github.com/lodash/lodash/blob/3.3.1-npm-packages/lodash.template) for more details. |
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
16709