From 00f2e25d3a0d0ba3a0b21494d635c04bcfc55338 Mon Sep 17 00:00:00 2001 From: Patrick Filler Date: Mon, 6 Apr 2015 19:20:19 -0500 Subject: [PATCH] Update bower-chosen to use unminified versions Though Bower itself is unopinionated about whcih version is included, the consensus amongst common libraries is to include the unminified versions of source files. People probably use build systems to minify those files for production (I hope). --- bower-publish.sh | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bower-publish.sh b/bower-publish.sh index a772f286c0c..cb3f56e75b8 100755 --- a/bower-publish.sh +++ b/bower-publish.sh @@ -12,7 +12,7 @@ git config --global user.name "bower-chosen" git clone https://pfiller:${GH_TOKEN}@github.com/harvesthq/bower-chosen.git rm -rf bower-chosen/* -cp public/bower.json public/*.png public/chosen.jquery.min.js public/chosen.min.css bower-chosen/ +cp public/bower.json public/*.png public/chosen.jquery.js public/chosen.css bower-chosen/ cd bower-chosen LATEST_VERSION=$(git diff bower.json | grep version | cut -d':' -f2 | cut -d'"' -f2 | tail -1) diff --git a/package.json b/package.json index d5e06d0428f..eba25f73dc0 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ ], "bowerJSON":{ "main": [ - "chosen.jquery.min.js", + "chosen.jquery.js", "chosen.css", "chosen-sprite@2x.png", "chosen-sprite.png"