pome-ui 2.0.0-preview8 → 2.0.0-preview9

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": "pome-ui",
3
- "version": "2.0.0-preview8",
3
+ "version": "2.0.0-preview9",
4
4
  "description": "Front-end MVC library",
5
5
  "main": "pome-ui.js",
6
6
  "bin": {
package/pome-ui.dev.js CHANGED
@@ -17258,7 +17258,17 @@ function build(options, exports) {
17258
17258
  opt.computed = {};
17259
17259
  }
17260
17260
  }
17261
-
17261
+
17262
+ if (addin.data) {
17263
+ var func = opt.data;
17264
+ opt.data = function (app) {
17265
+ var data = func.call(this, app);
17266
+ var data2 = addin.data.call(this, app);
17267
+ _combineObject(data2, data);
17268
+ return data;
17269
+ }
17270
+ }
17271
+
17262
17272
  if (addin.style) {
17263
17273
  if (addin.style instanceof Boolean) {
17264
17274
  addin.style = [ '@(css)' ];