Browse Source

Upgrade to release v2.4.0 - Code cleanup

Kartik Visweswaran 10 năm trước cách đây
mục cha
commit
d5903f6987
2 tập tin đã thay đổi với 0 bổ sung16 xóa
  1. 0 16
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 0 - 16
js/fileinput.js

@@ -675,22 +675,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()) {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
js/fileinput.min.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác