Comparing version 1.0.1 to 1.0.2
@@ -59,3 +59,3 @@ // Copyright 2011 Lukasz Mielicki <mielicki@gmail.com>. | ||
*/ | ||
this.Closure = function foo(opt_goog_global) { | ||
exports.Closure = function(opt_goog_global) { | ||
@@ -140,3 +140,3 @@ /** | ||
for (var attr in defaults) { | ||
if (typeof target[attr] === 'undefined') { | ||
if (target[attr] === undefined) { | ||
target[attr] = defaults[attr]; | ||
@@ -149,4 +149,3 @@ } | ||
var basepath = goog_.CLOSURE_BASE_PATH; | ||
assert(basepath.charAt(basepath.length - 1) === '/', | ||
"CLOSURE_BASE_PATH must end with '/'"); | ||
assert(basepath.slice(-1) === '/', "CLOSURE_BASE_PATH must end with '/'"); | ||
@@ -153,0 +152,0 @@ load_script(basepath + 'base.js'); |
{ | ||
"name": "closure", | ||
"description": "Google closure-library wrapper for node.js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"url": "http://github.com/lm1/node-closure", | ||
@@ -6,0 +6,0 @@ "author": "Lukasz Mielicki <mielicki@gmail.com>", |
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
5481
126