diff --git a/Gruntfile.js b/Gruntfile.js index f214842..03b22c7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -54,6 +54,7 @@ module.exports = function (grunt) { // Register tasks grunt.registerTask('default', ['jshint', 'karma:unit']); grunt.registerTask('watch', ['jshint', 'karma:watch']); + grunt.registerTask('test', ['karma:unit']); grunt.initConfig(initConfig); }; diff --git a/bower.json b/bower.json index 2cf5041..2783791 100644 --- a/bower.json +++ b/bower.json @@ -11,10 +11,11 @@ "main": "./src/select2.js", "dependencies": { "angular": ">=1.2.0", - "select2": "~3.4", - "jquery": ">=1.6.4" + "select2": ">=3.4.0", + "jquery": ">=1.11.0" }, "devDependencies": { - "angular-mocks": ">=1.0.2" + "angular-mocks": ">=1.2.0", + "bootstrap": ">=3.1.1" } } diff --git a/demo/app.js b/demo/app.js index 7530204..fead199 100644 --- a/demo/app.js +++ b/demo/app.js @@ -76,6 +76,36 @@ app.controller('MainCtrl', function ($scope, $element) { } } + function forEachState (fn) { + for (var i=0; i=1.2.0", - "select2": "~3.4", - "jquery": ">=1.6.4", - "bootstrap": "~3.0.3", - "angular-ui-select2": "~0.0.5" - } -} diff --git a/demo/index.html b/demo/index.html index dc01961..9607e49 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,8 +1,8 @@ - - + + - - - - - + + + + +