From f25ffb11bb67aa6ec10a40ad6b449b2497ea0f02 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 18 Jul 2022 10:21:14 +0800 Subject: [PATCH] refactor: eslint fix --- src/core/system.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/core/system.js b/src/core/system.js index 652a9c256..b0ebda3bf 100644 --- a/src/core/system.js +++ b/src/core/system.js @@ -29,12 +29,11 @@ "L": 24 }; - var provider = function () { - + function provider () { this.SYSTEM = system; this.setSize = function (opt) { - BI.deepExtend(system, {size: opt}); + BI.deepExtend(system, { size: opt }); }; this.setResponsiveMode = function (mode) { @@ -91,10 +90,10 @@ } }); }; - }; + } BI.provider("bi.provider.system", provider); -})(); +}()); BI.prepares.push(function () { BI.SIZE_CONSANTS = BI.Providers.getProvider("bi.provider.system").getSize();