pome-ui 2.0.0-preview7 → 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/pome-ui.js CHANGED
@@ -1319,7 +1319,17 @@ function build(options, exports) {
1319
1319
  opt.computed = {};
1320
1320
  }
1321
1321
  }
1322
-
1322
+
1323
+ if (addin.data) {
1324
+ var func = opt.data;
1325
+ opt.data = function (app) {
1326
+ var data = func.call(this, app);
1327
+ var data2 = addin.data.call(this, app);
1328
+ _combineObject(data2, data);
1329
+ return data;
1330
+ }
1331
+ }
1332
+
1323
1333
  if (addin.style) {
1324
1334
  if (addin.style instanceof Boolean) {
1325
1335
  addin.style = [ '@(css)' ];