diff --git a/Gruntfile.js b/Gruntfile.js index c6c74b7..c7bbb06 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,7 +19,7 @@ module.exports = function(grunt) { reporter: "checkstyle", reporterOutput: "jshint.xml" }, - all: ['src/**'], + all: ['src/knockout-bootstrap.js'], } }); diff --git a/build/knockout-bootstrap.min.js b/build/knockout-bootstrap.min.js index efdbf8b..85e11d7 100644 --- a/build/knockout-bootstrap.min.js +++ b/build/knockout-bootstrap.min.js @@ -4,4 +4,4 @@ * Website: http://billpull.github.com/knockout-bootstrap * MIT License http://www.opensource.org/licenses/mit-license.php */ -function s4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function guid(){return s4()+s4()+"-"+s4()+"-"+s4()+"-"+s4()+"-"+s4()+s4()+s4()}function setupKoBootstrap(a){a.bindingHandlers.typeahead={init:function(b,c,d){var e=$(b),f=d(),g=a.utils.unwrapObservable(c());e.attr("autocomplete","off").typeahead({source:g,minLength:f.minLength,items:f.items,updater:f.updater})}},a.bindingHandlers.progress={init:function(b,c,d,e){var f=$(b),g=$("
",{"class":"bar","data-bind":"style: { width:"+c()+" }"});f.attr("id",guid()).addClass("progress progress-info").append(g),a.applyBindingsToDescendants(e,f[0])}},a.bindingHandlers.alert={init:function(b,c){var d=$(b),e=a.utils.unwrapObservable(c()),f=$("