loco-js-model
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -139,5 +139,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
}, | ||
protocolWithHost: function protocolWithHost() { | ||
return null; | ||
} | ||
protocolWithHost: null | ||
}, | ||
@@ -622,2 +620,5 @@ scope: null | ||
model = Object(__WEBPACK_IMPORTED_MODULE_4__models__["Models"])()[parts[0]]; | ||
if (model == null) { | ||
return new this(params); | ||
} | ||
return new model(params); | ||
@@ -624,0 +625,0 @@ } |
{ | ||
"name": "loco-js-model", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Model part of loco-js", | ||
@@ -5,0 +5,0 @@ "main": "dist/loco-model.js", |
const LocalEnv = { | ||
loco: { | ||
getLocale: () => { return 'en' }, | ||
protocolWithHost: () => { return null } | ||
protocolWithHost: null | ||
}, | ||
@@ -6,0 +6,0 @@ scope: null |
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
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
88029
1642