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.
- package/dist/common/styles.js +2 -2
- package/package.json +1 -1
package/dist/common/styles.js
CHANGED
|
@@ -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) {
|