wapplr 1.0.65 → 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.
@@ -65,7 +65,7 @@ function createDefaultStyleManager() {
65
65
  }
66
66
 
67
67
  function defaultAdd(style) {
68
- var cssText = style._getCss();
68
+ var cssText = style._getCss ? style._getCss() : '';
69
69
 
70
70
  style._insertCss = function _insertCss() {
71
71
  var insertCss = styleManager.insertCss;
@@ -122,7 +122,7 @@ function createDefaultStyleManager() {
122
122
  WAPP = _globals$WAPP === void 0 ? "buildHash" : _globals$WAPP,
123
123
  DEV = globals.DEV;
124
124
  var cssText = (0, _toConsumableArray2["default"])(styleManager.css).map(function (style) {
125
- return style._getCss();
125
+ return style._getCss ? style._getCss() : '';
126
126
  }).join("");
127
127
 
128
128
  if (!DEV) {
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "files": [
23
23
  "dist/*"
24
24
  ],
25
- "version": "1.0.65",
25
+ "version": "1.0.66",
26
26
  "main": "dist/server",
27
27
  "browser": "dist/client",
28
28
  "repository": {