simple-boot-core
Advanced tools
Comparing version 1.0.14 to 1.0.15
{ | ||
"name": "simple-boot-core", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"main": "SimpleApplication.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
SIMPLE-BOOT-CORE | ||
=== | ||
## Sim LifeCycle | ||
* onCreate: Object create | ||
```typescript | ||
@@ -5,0 +8,0 @@ const option = new CustomSimOption([GlobalAdvice]); |
@@ -94,3 +94,7 @@ "use strict"; | ||
if (this._storage.has(target) && undefined === registed) { | ||
return this.newSim(target, function (data) { return _this._storage.set(target, data); }); | ||
var newSim = this.newSim(target, function (data) { return _this._storage.set(target, data); }); | ||
if (newSim && newSim.onCreate) { | ||
newSim.onCreate(); | ||
} | ||
return newSim; | ||
} | ||
@@ -97,0 +101,0 @@ throw new SimNoSuch_1.SimNoSuch('no simple instance ' + target); |
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
82734
1873
52