瀏覽代碼

Upgrade to release v2.4.0 - Code cleanup

Kartik Visweswaran 10 年之前
父節點
當前提交
ed8c6ecdf6
共有 2 個文件被更改,包括 0 次插入17 次删除
  1. 0 17
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 0 - 17
js/fileinput.js

@@ -23,7 +23,6 @@
         '      <param name="autoPlay" value="false" />\n' +
         '      <param name="autoStart" value="false" />\n'+
         '      <param name="quality" value="high" />\n';
-
     var DEFAULT_PREVIEW = '<div class="file-preview-other" ' + STYLE_SETTING + '>\n' +
         '       <h2><i class="glyphicon glyphicon-file"></i></h2>\n' +
         '   </div>';
@@ -673,22 +672,6 @@
         }
     }
 
-    $.fn.fileinput = function (options) {
-        if (!hasFileAPISupport()) {
-          return;
-        }
-        
-        return this.each(function () {
-            var $this = $(this), data = $this.data('fileinput')
-            if (!data) {
-                $this.data('fileinput', (data = new FileInput(this, options)))
-            }
-            if (typeof options == 'string') {
-                data[options]()
-            }
-        })
-    };
-
     //FileInput plugin definition
     $.fn.fileinput = function (option) {
         if (!hasFileAPISupport()) {

文件差異過大導致無法顯示
+ 0 - 0
js/fileinput.min.js


部分文件因文件數量過多而無法顯示