pict 1.0.64 → 1.0.66
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 +1 -1
- package/source/Pict.js +4 -2
package/package.json
CHANGED
package/source/Pict.js
CHANGED
|
@@ -9,6 +9,8 @@ class Pict extends libFable
|
|
|
9
9
|
{
|
|
10
10
|
super(pSettings);
|
|
11
11
|
|
|
12
|
+
this.isBrowser = new Function("try {return (this===window);} catch(pError) {return false;}");
|
|
13
|
+
|
|
12
14
|
// The templateProvider provides a basic key->template mapping with default fallback capabilities
|
|
13
15
|
this.serviceManager.addAndInstantiateServiceType('TemplateProvider', require('./Pict-Template-Provider.js'));
|
|
14
16
|
this.serviceManager.addAndInstantiateServiceType('EntityProvider', require('./Pict-Meadow-EntityProvider.js'));
|
|
@@ -72,11 +74,11 @@ class Pict extends libFable
|
|
|
72
74
|
|
|
73
75
|
if (typeof(pApplicationPrototype) != 'undefined')
|
|
74
76
|
{
|
|
75
|
-
return this.serviceManager.instantiateServiceProviderFromPrototype('
|
|
77
|
+
return this.serviceManager.instantiateServiceProviderFromPrototype('PictApplication', tmpOptions, tmpApplicationHash, pApplicationPrototype);
|
|
76
78
|
}
|
|
77
79
|
else
|
|
78
80
|
{
|
|
79
|
-
return this.serviceManager.instantiateServiceProvider('
|
|
81
|
+
return this.serviceManager.instantiateServiceProvider('PictApplication', tmpOptions, tmpApplicationHash);
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
84
|
|