Parcourir la source

Upgrade to release v2.4.0 - Code cleanup

Kartik Visweswaran il y a 10 ans
Parent
commit
d5903f6987
2 fichiers modifiés avec 0 ajouts et 16 suppressions
  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()) {

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
js/fileinput.min.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff