From 2226fe1a23f24931015dadb18f5d91ec3e606d48 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 9 Nov 2017 19:16:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?IE7=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/base.js | 22 ++++++------ bi/case.js | 8 ++--- bi/widget.js | 6 ++-- dist/base.js | 22 ++++++------ dist/bundle.js | 36 +++++++++---------- dist/case.js | 8 ++--- dist/widget.js | 6 ++-- .../richeditor/plugins/button.align.center.js | 2 +- .../richeditor/plugins/button.align.left.js | 2 +- .../richeditor/plugins/button.align.right.js | 2 +- src/base/richeditor/plugins/button.bold.js | 4 +-- src/base/richeditor/plugins/button.italic.js | 4 +-- .../richeditor/plugins/button.underline.js | 4 +-- .../plugins/combo.backgroundcolorchooser.js | 2 +- src/base/table/table.collection.js | 2 +- src/case/button/item.singleselect.js | 2 +- src/case/combo/bubblecombo/combo.bubble.js | 4 +-- src/case/trigger/trigger.text.small.js | 2 +- src/widget/datetime/datetime.trigger.js | 2 +- .../search/multiselect.search.loader.js | 2 +- .../singleslider/singleslider.normal.js | 2 +- 21 files changed, 72 insertions(+), 72 deletions(-) diff --git a/bi/base.js b/bi/base.js index a6fba807a..c90b088b5 100644 --- a/bi/base.js +++ b/bi/base.js @@ -16688,7 +16688,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Center"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-center-font", + cls: "text-toolbar-button bi-list-item-active text-align-center-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16725,7 +16725,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Left"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-left-font", + cls: "text-toolbar-button bi-list-item-active text-align-left-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16762,7 +16762,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Right"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-right-font", + cls: "text-toolbar-button bi-list-item-active text-align-right-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16800,7 +16800,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Bold"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-bold-font", + cls: "text-toolbar-button bi-list-item-active text-bold-font" }); this.bold.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16812,7 +16812,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.bold.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/** * @@ -16840,7 +16840,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Italic"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-italic-font", + cls: "text-toolbar-button bi-list-item-active text-italic-font" }); this.italic.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16852,7 +16852,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.italic.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/** * @@ -16916,7 +16916,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Underline"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-underline-font", + cls: "text-toolbar-button bi-list-item-active text-underline-font" }); this.underline.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16928,7 +16928,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.underline.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/** * 颜色选择trigger @@ -16992,7 +16992,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, { _defaultConfig: function () { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { width: 20, - height: 20, + height: 20 }); }, @@ -30268,7 +30268,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, { el: this.leftScrollbar, left: 0 }, { - el: this.rightScrollbar, + el: this.rightScrollbar }] }); this._width = o.width - BI.GridTableScrollbar.SIZE; diff --git a/bi/case.js b/bi/case.js index 688ab21ac..969681289 100644 --- a/bi/case.js +++ b/bi/case.js @@ -283,7 +283,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { extraCls: "bi-single-select-item bi-list-item-active", hgap: 10, height: 25, - textAlign: "left", + textAlign: "left" }) }, _init: function () { @@ -4818,7 +4818,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hideChecker: BI.emptyFn, offsetStyle: "left", //left,right,center el: {}, - popup: {}, + popup: {} }) }, _init: function () { @@ -4843,7 +4843,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { el: o.el, popup: BI.extend({ type: "bi.bubble_popup_view" - }, o.popup), + }, o.popup) }); this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); @@ -12599,7 +12599,7 @@ BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** */ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { diff --git a/bi/widget.js b/bi/widget.js index a666fee06..78b476502 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -3143,7 +3143,7 @@ BI.shortcut("bi.date_time_select", BI.DateTimeSelect);/** */ BI.DateTimeTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { @@ -10843,7 +10843,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { baseCls: 'bi-multi-select-search-loader', itemsCreator: BI.emptyFn, keywordGetter: BI.emptyFn, - valueFormatter: BI.emptyFn, + valueFormatter: BI.emptyFn }); }, @@ -17907,7 +17907,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, { minMax: { min: 0, max: 100 - }, + } // color: "#3f8ce8" }, diff --git a/dist/base.js b/dist/base.js index a6fba807a..c90b088b5 100644 --- a/dist/base.js +++ b/dist/base.js @@ -16688,7 +16688,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Center"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-center-font", + cls: "text-toolbar-button bi-list-item-active text-align-center-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16725,7 +16725,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Left"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-left-font", + cls: "text-toolbar-button bi-list-item-active text-align-left-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16762,7 +16762,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Right"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-right-font", + cls: "text-toolbar-button bi-list-item-active text-align-right-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16800,7 +16800,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Bold"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-bold-font", + cls: "text-toolbar-button bi-list-item-active text-bold-font" }); this.bold.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16812,7 +16812,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.bold.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/** * @@ -16840,7 +16840,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Italic"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-italic-font", + cls: "text-toolbar-button bi-list-item-active text-italic-font" }); this.italic.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16852,7 +16852,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.italic.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/** * @@ -16916,7 +16916,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Underline"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-underline-font", + cls: "text-toolbar-button bi-list-item-active text-underline-font" }); this.underline.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -16928,7 +16928,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.underline.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/** * 颜色选择trigger @@ -16992,7 +16992,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, { _defaultConfig: function () { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { width: 20, - height: 20, + height: 20 }); }, @@ -30268,7 +30268,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, { el: this.leftScrollbar, left: 0 }, { - el: this.rightScrollbar, + el: this.rightScrollbar }] }); this._width = o.width - BI.GridTableScrollbar.SIZE; diff --git a/dist/bundle.js b/dist/bundle.js index 2c1d41203..d7bd9ec77 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -42429,7 +42429,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Center"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-center-font", + cls: "text-toolbar-button bi-list-item-active text-align-center-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -42466,7 +42466,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Left"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-left-font", + cls: "text-toolbar-button bi-list-item-active text-align-left-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -42503,7 +42503,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Right"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-right-font", + cls: "text-toolbar-button bi-list-item-active text-align-right-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -42541,7 +42541,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Bold"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-bold-font", + cls: "text-toolbar-button bi-list-item-active text-bold-font" }); this.bold.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -42553,7 +42553,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.bold.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton)/** * @@ -42581,7 +42581,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Italic"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-italic-font", + cls: "text-toolbar-button bi-list-item-active text-italic-font" }); this.italic.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -42593,7 +42593,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.italic.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton)/** * @@ -42657,7 +42657,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Underline"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-underline-font", + cls: "text-toolbar-button bi-list-item-active text-underline-font" }); this.underline.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -42669,7 +42669,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.underline.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton)/** * 颜色选择trigger @@ -42733,7 +42733,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, { _defaultConfig: function () { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { width: 20, - height: 20, + height: 20 }); }, @@ -56009,7 +56009,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, { el: this.leftScrollbar, left: 0 }, { - el: this.rightScrollbar, + el: this.rightScrollbar }] }); this._width = o.width - BI.GridTableScrollbar.SIZE; @@ -62649,7 +62649,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { extraCls: "bi-single-select-item bi-list-item-active", hgap: 10, height: 25, - textAlign: "left", + textAlign: "left" }) }, _init: function () { @@ -67184,7 +67184,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hideChecker: BI.emptyFn, offsetStyle: "left", //left,right,center el: {}, - popup: {}, + popup: {} }) }, _init: function () { @@ -67209,7 +67209,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { el: o.el, popup: BI.extend({ type: "bi.bubble_popup_view" - }, o.popup), + }, o.popup) }); this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); @@ -74965,7 +74965,7 @@ BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** */ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { @@ -78158,7 +78158,7 @@ BI.shortcut("bi.date_time_select", BI.DateTimeSelect);/** */ BI.DateTimeTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { @@ -85858,7 +85858,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { baseCls: 'bi-multi-select-search-loader', itemsCreator: BI.emptyFn, keywordGetter: BI.emptyFn, - valueFormatter: BI.emptyFn, + valueFormatter: BI.emptyFn }); }, @@ -92922,7 +92922,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, { minMax: { min: 0, max: 100 - }, + } // color: "#3f8ce8" }, diff --git a/dist/case.js b/dist/case.js index 688ab21ac..969681289 100644 --- a/dist/case.js +++ b/dist/case.js @@ -283,7 +283,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { extraCls: "bi-single-select-item bi-list-item-active", hgap: 10, height: 25, - textAlign: "left", + textAlign: "left" }) }, _init: function () { @@ -4818,7 +4818,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hideChecker: BI.emptyFn, offsetStyle: "left", //left,right,center el: {}, - popup: {}, + popup: {} }) }, _init: function () { @@ -4843,7 +4843,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { el: o.el, popup: BI.extend({ type: "bi.bubble_popup_view" - }, o.popup), + }, o.popup) }); this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); @@ -12599,7 +12599,7 @@ BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** */ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { diff --git a/dist/widget.js b/dist/widget.js index a666fee06..78b476502 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -3143,7 +3143,7 @@ BI.shortcut("bi.date_time_select", BI.DateTimeSelect);/** */ BI.DateTimeTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { @@ -10843,7 +10843,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { baseCls: 'bi-multi-select-search-loader', itemsCreator: BI.emptyFn, keywordGetter: BI.emptyFn, - valueFormatter: BI.emptyFn, + valueFormatter: BI.emptyFn }); }, @@ -17907,7 +17907,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, { minMax: { min: 0, max: 100 - }, + } // color: "#3f8ce8" }, diff --git a/src/base/richeditor/plugins/button.align.center.js b/src/base/richeditor/plugins/button.align.center.js index 3107da63b..1cf3f1ad6 100644 --- a/src/base/richeditor/plugins/button.align.center.js +++ b/src/base/richeditor/plugins/button.align.center.js @@ -23,7 +23,7 @@ BI.RichEditorAlignCenterButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Center"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-center-font", + cls: "text-toolbar-button bi-list-item-active text-align-center-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); diff --git a/src/base/richeditor/plugins/button.align.left.js b/src/base/richeditor/plugins/button.align.left.js index 127777aa5..3d9fe660d 100644 --- a/src/base/richeditor/plugins/button.align.left.js +++ b/src/base/richeditor/plugins/button.align.left.js @@ -23,7 +23,7 @@ BI.RichEditorAlignLeftButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Left"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-left-font", + cls: "text-toolbar-button bi-list-item-active text-align-left-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); diff --git a/src/base/richeditor/plugins/button.align.right.js b/src/base/richeditor/plugins/button.align.right.js index ecf49508d..2206db514 100644 --- a/src/base/richeditor/plugins/button.align.right.js +++ b/src/base/richeditor/plugins/button.align.right.js @@ -23,7 +23,7 @@ BI.RichEditorAlignRightButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Word_Align_Right"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-align-right-font", + cls: "text-toolbar-button bi-list-item-active text-align-right-font" }); this.align.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); diff --git a/src/base/richeditor/plugins/button.bold.js b/src/base/richeditor/plugins/button.bold.js index 4bd893329..a6d931959 100644 --- a/src/base/richeditor/plugins/button.bold.js +++ b/src/base/richeditor/plugins/button.bold.js @@ -24,7 +24,7 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Bold"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-bold-font", + cls: "text-toolbar-button bi-list-item-active text-bold-font" }); this.bold.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -36,6 +36,6 @@ BI.RichEditorBoldButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.bold.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_bold_button", BI.RichEditorBoldButton) \ No newline at end of file diff --git a/src/base/richeditor/plugins/button.italic.js b/src/base/richeditor/plugins/button.italic.js index c532f6153..a9a5f2ed1 100644 --- a/src/base/richeditor/plugins/button.italic.js +++ b/src/base/richeditor/plugins/button.italic.js @@ -24,7 +24,7 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Italic"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-italic-font", + cls: "text-toolbar-button bi-list-item-active text-italic-font" }); this.italic.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -36,6 +36,6 @@ BI.RichEditorItalicButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.italic.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_italic_button", BI.RichEditorItalicButton) \ No newline at end of file diff --git a/src/base/richeditor/plugins/button.underline.js b/src/base/richeditor/plugins/button.underline.js index 10048aba5..d6fc0d5bb 100644 --- a/src/base/richeditor/plugins/button.underline.js +++ b/src/base/richeditor/plugins/button.underline.js @@ -24,7 +24,7 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { title: BI.i18nText("BI-Basic_Underline"), height: 20, width: 20, - cls: "text-toolbar-button bi-list-item-active text-underline-font", + cls: "text-toolbar-button bi-list-item-active text-underline-font" }); this.underline.on(BI.IconButton.EVENT_CHANGE, function () { self.doCommand(); @@ -36,6 +36,6 @@ BI.RichEditorUnderlineButton = BI.inherit(BI.RichEditorAction, { deactivate: function () { this.underline.setSelected(false); - }, + } }); BI.shortcut("bi.rich_editor_underline_button", BI.RichEditorUnderlineButton) \ No newline at end of file diff --git a/src/base/richeditor/plugins/combo.backgroundcolorchooser.js b/src/base/richeditor/plugins/combo.backgroundcolorchooser.js index 287c85144..7090e5d8d 100644 --- a/src/base/richeditor/plugins/combo.backgroundcolorchooser.js +++ b/src/base/richeditor/plugins/combo.backgroundcolorchooser.js @@ -9,7 +9,7 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, { _defaultConfig: function () { return BI.extend(BI.RichEditorBackgroundColorChooser.superclass._defaultConfig.apply(this, arguments), { width: 20, - height: 20, + height: 20 }); }, diff --git a/src/base/table/table.collection.js b/src/base/table/table.collection.js index ee5aea9aa..a698036b9 100644 --- a/src/base/table/table.collection.js +++ b/src/base/table/table.collection.js @@ -154,7 +154,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, { el: this.leftScrollbar, left: 0 }, { - el: this.rightScrollbar, + el: this.rightScrollbar }] }); this._width = o.width - BI.GridTableScrollbar.SIZE; diff --git a/src/case/button/item.singleselect.js b/src/case/button/item.singleselect.js index 3357d851f..a0f2f2726 100644 --- a/src/case/button/item.singleselect.js +++ b/src/case/button/item.singleselect.js @@ -9,7 +9,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { extraCls: "bi-single-select-item bi-list-item-active", hgap: 10, height: 25, - textAlign: "left", + textAlign: "left" }) }, _init: function () { diff --git a/src/case/combo/bubblecombo/combo.bubble.js b/src/case/combo/bubblecombo/combo.bubble.js index 8b02c7aaa..f5e836ada 100644 --- a/src/case/combo/bubblecombo/combo.bubble.js +++ b/src/case/combo/bubblecombo/combo.bubble.js @@ -25,7 +25,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hideChecker: BI.emptyFn, offsetStyle: "left", //left,right,center el: {}, - popup: {}, + popup: {} }) }, _init: function () { @@ -50,7 +50,7 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { el: o.el, popup: BI.extend({ type: "bi.bubble_popup_view" - }, o.popup), + }, o.popup) }); this.combo.on(BI.Combo.EVENT_TRIGGER_CHANGE, function () { self.fireEvent(BI.BubbleCombo.EVENT_TRIGGER_CHANGE, arguments); diff --git a/src/case/trigger/trigger.text.small.js b/src/case/trigger/trigger.text.small.js index 1628a8c19..754412d4a 100644 --- a/src/case/trigger/trigger.text.small.js +++ b/src/case/trigger/trigger.text.small.js @@ -6,7 +6,7 @@ */ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { diff --git a/src/widget/datetime/datetime.trigger.js b/src/widget/datetime/datetime.trigger.js index d0a1978fb..3c394e1de 100644 --- a/src/widget/datetime/datetime.trigger.js +++ b/src/widget/datetime/datetime.trigger.js @@ -3,7 +3,7 @@ */ BI.DateTimeTrigger = BI.inherit(BI.Trigger, { _const: { - hgap: 4, + hgap: 4 }, _defaultConfig: function () { diff --git a/src/widget/multiselect/search/multiselect.search.loader.js b/src/widget/multiselect/search/multiselect.search.loader.js index bdb10bef2..8c6caba90 100644 --- a/src/widget/multiselect/search/multiselect.search.loader.js +++ b/src/widget/multiselect/search/multiselect.search.loader.js @@ -11,7 +11,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { baseCls: 'bi-multi-select-search-loader', itemsCreator: BI.emptyFn, keywordGetter: BI.emptyFn, - valueFormatter: BI.emptyFn, + valueFormatter: BI.emptyFn }); }, diff --git a/src/widget/singleslider/singleslider.normal.js b/src/widget/singleslider/singleslider.normal.js index 0d03af4cc..cc7ae0292 100644 --- a/src/widget/singleslider/singleslider.normal.js +++ b/src/widget/singleslider/singleslider.normal.js @@ -17,7 +17,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, { minMax: { min: 0, max: 100 - }, + } // color: "#3f8ce8" }, From 72df0330bef8d91bf81da69912e3cfb4d20a840d Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 9 Nov 2017 19:26:14 +0800 Subject: [PATCH 2/2] update --- bi/widget.js | 4 ++-- dist/bundle.js | 4 ++-- dist/widget.js | 4 ++-- src/widget/intervalslider/intervalslider.label.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 78b476502..c6a374bdb 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -6208,13 +6208,13 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { this._setLabelOnePosition(significantPercent); this._setSliderOnePosition(significantPercent); this.labelOne.setValue(v); - self.labelOne.setText(v + o.unit); + this.labelOne.setText(v + o.unit); this.valueOne = v; }else{ this._setLabelTwoPosition(significantPercent); this._setSliderTwoPosition(significantPercent); this.labelTwo.setValue(v); - self.labelTwo.setText(v + o.unit); + this.labelTwo.setText(v + o.unit); this.valueTwo = v; } this._setBlueTrack(); diff --git a/dist/bundle.js b/dist/bundle.js index d7bd9ec77..a015bab8c 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -81223,13 +81223,13 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { this._setLabelOnePosition(significantPercent); this._setSliderOnePosition(significantPercent); this.labelOne.setValue(v); - self.labelOne.setText(v + o.unit); + this.labelOne.setText(v + o.unit); this.valueOne = v; }else{ this._setLabelTwoPosition(significantPercent); this._setSliderTwoPosition(significantPercent); this.labelTwo.setValue(v); - self.labelTwo.setText(v + o.unit); + this.labelTwo.setText(v + o.unit); this.valueTwo = v; } this._setBlueTrack(); diff --git a/dist/widget.js b/dist/widget.js index 78b476502..c6a374bdb 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -6208,13 +6208,13 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { this._setLabelOnePosition(significantPercent); this._setSliderOnePosition(significantPercent); this.labelOne.setValue(v); - self.labelOne.setText(v + o.unit); + this.labelOne.setText(v + o.unit); this.valueOne = v; }else{ this._setLabelTwoPosition(significantPercent); this._setSliderTwoPosition(significantPercent); this.labelTwo.setValue(v); - self.labelTwo.setText(v + o.unit); + this.labelTwo.setText(v + o.unit); this.valueTwo = v; } this._setBlueTrack(); diff --git a/src/widget/intervalslider/intervalslider.label.js b/src/widget/intervalslider/intervalslider.label.js index 3fe9350cf..3b14acd59 100644 --- a/src/widget/intervalslider/intervalslider.label.js +++ b/src/widget/intervalslider/intervalslider.label.js @@ -104,13 +104,13 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, { this._setLabelOnePosition(significantPercent); this._setSliderOnePosition(significantPercent); this.labelOne.setValue(v); - self.labelOne.setText(v + o.unit); + this.labelOne.setText(v + o.unit); this.valueOne = v; }else{ this._setLabelTwoPosition(significantPercent); this._setSliderTwoPosition(significantPercent); this.labelTwo.setValue(v); - self.labelTwo.setText(v + o.unit); + this.labelTwo.setText(v + o.unit); this.valueTwo = v; } this._setBlueTrack();