From a338f8b9633920ff2cd345326b11fc1150523aee Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 25 Oct 2017 15:08:29 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=8E=BB=E7=AC=AC=E4=B8=89=E6=96=B9js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/base.js | 786 +++----- bi/sliders.css | 42 +- dist/base.js | 786 +++----- dist/bundle.js | 786 +++----- dist/bundle.min.js | 72 +- dist/demo.js | 2410 +++++++++++------------ dist/sliders.css | 42 +- src/third/jquery.splendid.textchange.js | 145 -- 8 files changed, 2246 insertions(+), 2823 deletions(-) delete mode 100644 src/third/jquery.splendid.textchange.js diff --git a/bi/base.js b/bi/base.js index b14748acf..a5a6a8188 100644 --- a/bi/base.js +++ b/bi/base.js @@ -200,150 +200,6 @@ } }));/** - * jQuery "splendid textchange" plugin - * http://benalpert.com/2013/06/18/a-near-perfect-oninput-shim-for-ie-8-and-9.html - * - * (c) 2013 Ben Alpert, released under the MIT license - */ - -(function($) { - - var testNode = document.createElement("input"); - var isInputSupported = "oninput" in testNode && - (!("documentMode" in document) || document.documentMode > 9); - - var hasInputCapabilities = function(elem) { - // The HTML5 spec lists many more types than `text` and `password` on - // which the input event is triggered but none of them exist in IE 8 or - // 9, so we don't check them here. - // TODO: