Comparing version 0.5.0 to 0.5.1
@@ -1,2 +0,2 @@ | ||
/** tusk v0.5.0 https://www.npmjs.com/package/tusk */ | ||
/** tusk v0.5.1 https://www.npmjs.com/package/tusk */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ module.exports = { |
@@ -1,2 +0,2 @@ | ||
/** tusk v0.5.0 https://www.npmjs.com/package/tusk */ | ||
/** tusk v0.5.1 https://www.npmjs.com/package/tusk */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var EVENTS, NODE, handleEvent, ref; |
@@ -1,2 +0,2 @@ | ||
/** tusk v0.5.0 https://www.npmjs.com/package/tusk */ | ||
/** tusk v0.5.1 https://www.npmjs.com/package/tusk */ | ||
"use strict"; | ||
@@ -13,3 +13,3 @@ var NODE, Node, delegator, flattenInto, getDiff, ref, renderContext, tusk; | ||
renderContext = null; | ||
renderContext = void 0; | ||
@@ -144,7 +144,5 @@ | ||
tusk["with"] = function(context, renderer) { | ||
var node, ref1; | ||
var node; | ||
renderContext = context; | ||
if (!((ref1 = (node = typeof renderer === "function" ? renderer() : void 0)) != null ? ref1.isTusk : void 0)) { | ||
throw new TypeError("Tusk: with requires a render function that returns a virtual node."); | ||
} | ||
node = typeof renderer === "function" ? renderer() : void 0; | ||
renderContext = void 0; | ||
@@ -151,0 +149,0 @@ return node; |
@@ -1,2 +0,2 @@ | ||
/** tusk v0.5.0 https://www.npmjs.com/package/tusk */ | ||
/** tusk v0.5.1 https://www.npmjs.com/package/tusk */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var flattenInto; |
@@ -1,2 +0,2 @@ | ||
/** tusk v0.5.0 https://www.npmjs.com/package/tusk */ | ||
/** tusk v0.5.1 https://www.npmjs.com/package/tusk */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var NAMESPACES, NODE, Node, SELF_CLOSING, Text, dispatch, escapeHTML, normalizeChildren, ref, ref1, setAttrs, setChildren, |
@@ -1,2 +0,2 @@ | ||
/** tusk v0.5.0 https://www.npmjs.com/package/tusk */ | ||
/** tusk v0.5.1 https://www.npmjs.com/package/tusk */ | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var Text, escapeHTML; |
{ | ||
"name": "tusk", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A slim virtual dom implementation for immutable structures.", | ||
@@ -34,2 +34,3 @@ "author": "Dylan Piercey <pierceydylan@gmail.com>", | ||
"gulp-mocha": "^2.0.1", | ||
"gulp-uglify": "^1.2.0", | ||
"immstruct": "^1.4.1", | ||
@@ -39,4 +40,5 @@ "jsdom": "^5.4.1", | ||
"mocha-jsdom": "^0.3.0", | ||
"vinyl-buffer": "^1.0.0", | ||
"vinyl-source-stream": "^1.1.0" | ||
} | ||
} |
@@ -39,2 +39,7 @@ # TUSK | ||
#### Bower | ||
```console | ||
bower install tusk | ||
``` | ||
# Example | ||
@@ -41,0 +46,0 @@ |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
66534
15
719
165
14
3
2