Comparing version 0.3.15 to 0.3.16
@@ -8,3 +8,3 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.15 | ||
* @version 0.3.16 | ||
* @date 2015-11-05 | ||
@@ -1420,13 +1420,2 @@ */ | ||
Schema.register('virtual', virtual); | ||
Schema.pushPattern(function _virtualPattern(schema) { | ||
if (typeof schema === 'virtual') { | ||
if (schema instanceof Schema) { | ||
return; | ||
} | ||
if (schema instanceof Array) { | ||
return; | ||
} | ||
return virtual(schema); | ||
} | ||
}); | ||
return Schema; | ||
@@ -1433,0 +1422,0 @@ } |
@@ -8,3 +8,3 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.15 | ||
* @version 0.3.16 | ||
* @date 2015-11-05 | ||
@@ -1337,13 +1337,2 @@ */ | ||
Schema.register('virtual', virtual); | ||
Schema.pushPattern(function _virtualPattern(schema) { | ||
if (typeof schema === 'virtual') { | ||
if (schema instanceof Schema) { | ||
return; | ||
} | ||
if (schema instanceof Array) { | ||
return; | ||
} | ||
return virtual(schema); | ||
} | ||
}); | ||
return Schema; | ||
@@ -1350,0 +1339,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Binary data packing and unpacking.", | ||
"version": "0.3.15", | ||
"version": "0.3.16", | ||
"homepage": "http://github.com/zswang/jpacks", | ||
@@ -8,0 +8,0 @@ "main": "jpacks.js", |
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
102153
3239