render-core 1.3.18 → 1.3.19

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.
@@ -101,7 +101,16 @@ var AppController = /** @class */ (function () {
101
101
  return this.fields[field].data;
102
102
  }
103
103
  else {
104
- return null;
104
+ var application = Reflect.get(window, "appSite");
105
+ if (application.getField(field) == null) {
106
+ return null;
107
+ }
108
+ else {
109
+ this.fields[field] = {
110
+ data: application.getField(field),
111
+ react: true
112
+ };
113
+ }
105
114
  }
106
115
  };
107
116
  /**
@@ -77,7 +77,16 @@ var ContextController = /** @class */ (function () {
77
77
  return this.fields[field].data;
78
78
  }
79
79
  else {
80
- return null;
80
+ var application = Reflect.get(window, "appSite");
81
+ if (application.getField(field) == null) {
82
+ return null;
83
+ }
84
+ else {
85
+ this.fields[field] = {
86
+ data: application.getField(field),
87
+ react: true
88
+ };
89
+ }
81
90
  }
82
91
  };
83
92
  return ContextController;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
4
4
  "description": "The core of render-js",
5
5
  "keywords": [
6
6
  "render",