Completely updated React, fixed #11, (hopefully)
This commit is contained in:
8
goTorrentWebUI/node_modules/material-ui/es/styles/createMuiTheme.js
generated
vendored
8
goTorrentWebUI/node_modules/material-ui/es/styles/createMuiTheme.js
generated
vendored
@@ -1,7 +1,5 @@
|
||||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
||||
|
||||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
||||
|
||||
import _extends from 'babel-runtime/helpers/extends';
|
||||
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
|
||||
import deepmerge from 'deepmerge'; // < 1kb payload overhead when lodash/merge is > 3kb.
|
||||
import warning from 'warning';
|
||||
import createTypography from './createTypography';
|
||||
@@ -39,7 +37,7 @@ function createMuiTheme(options = {}) {
|
||||
zIndex
|
||||
}, other));
|
||||
|
||||
warning(muiTheme.shadows.length === 25, 'Material-UI: the shadows array provided to createMuiTheme should support 25 elevations.');
|
||||
process.env.NODE_ENV !== "production" ? warning(muiTheme.shadows.length === 25, 'Material-UI: the shadows array provided to createMuiTheme should support 25 elevations.') : void 0;
|
||||
|
||||
return muiTheme;
|
||||
}
|
||||
|
Reference in New Issue
Block a user