fable 3.0.34 → 3.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fable",
3
- "version": "3.0.34",
3
+ "version": "3.0.35",
4
4
  "description": "An entity behavior management and API bundling library.",
5
5
  "main": "source/Fable.js",
6
6
  "scripts": {
@@ -65,7 +65,7 @@ class FableService extends libFableServiceBase.CoreServiceProviderBase
65
65
  // If this is the first service of this type, make it the default
66
66
  if (!this.defaultServices.hasOwnProperty(pServiceType))
67
67
  {
68
- this.defaultServices[pServiceType] = tmpService;
68
+ this.setDefaultServiceInstantiation(pServiceType, tmpService.Hash)
69
69
  }
70
70
 
71
71
  return tmpService;
@@ -100,7 +100,7 @@ class FableService extends libFableServiceBase.CoreServiceProviderBase
100
100
  // If this is the first service of this type, make it the default
101
101
  if (!this.defaultServices.hasOwnProperty(tmpServiceType))
102
102
  {
103
- this.defaultServices[tmpServiceType] = pServiceInstance;
103
+ this.setDefaultServiceInstantiation(tmpServiceType, tmpServiceHash)
104
104
  }
105
105
 
106
106
  return pServiceInstance;
@@ -110,6 +110,7 @@ class FableService extends libFableServiceBase.CoreServiceProviderBase
110
110
  {
111
111
  if (this.services[pServiceType].hasOwnProperty(pServiceHash))
112
112
  {
113
+ this.fable[pServiceType] = this.services[pServiceType][pServiceHash];
113
114
  this.defaultServices[pServiceType] = this.services[pServiceType][pServiceHash];
114
115
  return true;
115
116
  }