Comparing version 0.3.16 to 0.3.17
@@ -8,3 +8,3 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.16 | ||
* @version 0.3.17 | ||
* @date 2015-11-05 | ||
@@ -41,2 +41,3 @@ */ | ||
function Schema(options) { | ||
options = options || {}; | ||
var self = this; | ||
@@ -317,3 +318,3 @@ Object.keys(options).forEach(function(key) { | ||
obj.name = '_pack_fn' + (guid++); | ||
Schema.define(obj.name, obj); | ||
Schema.def(obj.name, obj); | ||
} | ||
@@ -320,0 +321,0 @@ } else if (typeof obj === 'object') { |
@@ -8,3 +8,3 @@ (function (exportName) { | ||
* zswang (http://weibo.com/zswang) | ||
* @version 0.3.16 | ||
* @version 0.3.17 | ||
* @date 2015-11-05 | ||
@@ -41,2 +41,3 @@ */ | ||
function Schema(options) { | ||
options = options || {}; | ||
var self = this; | ||
@@ -296,3 +297,3 @@ Object.keys(options).forEach(function(key) { | ||
obj.name = '_pack_fn' + (guid++); | ||
Schema.define(obj.name, obj); | ||
Schema.def(obj.name, obj); | ||
} | ||
@@ -299,0 +300,0 @@ } else if (typeof obj === 'object') { |
@@ -5,3 +5,3 @@ { | ||
"description": "Binary data packing and unpacking.", | ||
"version": "0.3.16", | ||
"version": "0.3.17", | ||
"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
102205
3241