falcor-sync-model
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -36,2 +36,17 @@ 'use strict'; | ||
} | ||
}, { | ||
key: '_clone', | ||
value: function _clone(opts) { | ||
var clone = new SyncModel(this); | ||
for (var key in opts) { | ||
var value = opts[key]; | ||
if (value === 'delete') { | ||
delete clone[key]; | ||
} else { | ||
clone[key] = value; | ||
} | ||
} | ||
clone.setCache = void 0; | ||
return clone; | ||
} | ||
}]); | ||
@@ -38,0 +53,0 @@ |
{ | ||
"name": "falcor-sync-model", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A Falcor model that can be read from synchronously", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.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
7244
69