From ac332bbadcab9162d2e58ec4eaf917bdddeaf8d1 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Sun, 19 Mar 2017 10:50:34 -0400 Subject: [PATCH] Cut 1.1.8 to support Bootstrap 4, setup for NPM --- bower.json | 2 +- js/bootstrap-combobox.js | 8 ++++---- package.json | 24 ++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 package.json diff --git a/bower.json b/bower.json index 62e76f0..1a889f5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "bootstrap-combobox", - "version": "1.1.7", + "version": "1.1.8", "homepage": "https://github.com/danielfarrell/bootstrap-combobox", "authors": [ "Daniel Farrell ", diff --git a/js/bootstrap-combobox.js b/js/bootstrap-combobox.js index 524ab10..7f0ae0b 100755 --- a/js/bootstrap-combobox.js +++ b/js/bootstrap-combobox.js @@ -1,5 +1,5 @@ /* ============================================================= - * bootstrap-combobox.js v1.1.7 + * bootstrap-combobox.js v1.1.8 * ============================================================= * Copyright 2012 Daniel Farrell * @@ -16,7 +16,7 @@ * limitations under the License. * ============================================================ */ -!function( $ ) { +(function( $ ) { "use strict"; @@ -452,11 +452,11 @@ }; $.fn.combobox.defaults = { - bsVersion: '3' + bsVersion: '4' , menu: '' , item: '
  • ' }; $.fn.combobox.Constructor = Combobox; -}( window.jQuery ); +}( window.jQuery )); diff --git a/package.json b/package.json new file mode 100644 index 0000000..b4fbfe2 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "bootstrap-combobox", + "version": "1.1.8", + "description": "A combobox plugin that works with twitter bootstrap", + "main": "js/bootstrap-combobox.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/danielfarrell/bootstrap-combobox.git" + }, + "keywords": [ + "bootstrap", + "combobox", + "dropdown" + ], + "author": "Daniel Farrell", + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/danielfarrell/bootstrap-combobox/issues" + }, + "homepage": "https://github.com/danielfarrell/bootstrap-combobox#readme" +}