Browse Source

Upgrade to release v2.4.0 - Code cleanup

Kartik Visweswaran 10 years ago
parent
commit
d5903f6987
2 changed files with 0 additions and 16 deletions
  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
     //FileInput plugin definition
     $.fn.fileinput = function (option) {
     $.fn.fileinput = function (option) {
         if (!hasFileAPISupport()) {
         if (!hasFileAPISupport()) {

File diff suppressed because it is too large
+ 0 - 0
js/fileinput.min.js


Some files were not shown because too many files changed in this diff