Browse Source

refactor: eslint fix

es6
iapyang 2 years ago
parent
commit
f25ffb11bb
  1. 9
      src/core/system.js

9
src/core/system.js

@ -29,12 +29,11 @@
"L": 24 "L": 24
}; };
var provider = function () { function provider () {
this.SYSTEM = system; this.SYSTEM = system;
this.setSize = function (opt) { this.setSize = function (opt) {
BI.deepExtend(system, {size: opt}); BI.deepExtend(system, { size: opt });
}; };
this.setResponsiveMode = function (mode) { this.setResponsiveMode = function (mode) {
@ -91,10 +90,10 @@
} }
}); });
}; };
}; }
BI.provider("bi.provider.system", provider); BI.provider("bi.provider.system", provider);
})(); }());
BI.prepares.push(function () { BI.prepares.push(function () {
BI.SIZE_CONSANTS = BI.Providers.getProvider("bi.provider.system").getSize(); BI.SIZE_CONSANTS = BI.Providers.getProvider("bi.provider.system").getSize();

Loading…
Cancel
Save