render-core 1.3.19 → 1.3.20

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,16 +101,7 @@ var AppController = /** @class */ (function () {
101
101
  return this.fields[field].data;
102
102
  }
103
103
  else {
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
- }
104
+ return null;
114
105
  }
115
106
  };
116
107
  /**
@@ -1,12 +1,7 @@
1
1
  import { status_read, status_write } from "../../index";
2
2
  var ContextController = /** @class */ (function () {
3
3
  function ContextController() {
4
- this.fields = {
5
- system_theme: {
6
- data: "default",
7
- react: true
8
- }
9
- };
4
+ this.fields = {};
10
5
  }
11
6
  ContextController.prototype.saveFields = function (fields) {
12
7
  for (var fieldsKey in fields) {
@@ -86,6 +81,7 @@ var ContextController = /** @class */ (function () {
86
81
  data: application.getField(field),
87
82
  react: true
88
83
  };
84
+ return this.fields[field].data;
89
85
  }
90
86
  }
91
87
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.3.19",
3
+ "version": "1.3.20",
4
4
  "description": "The core of render-js",
5
5
  "keywords": [
6
6
  "render",