]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
minor cleanups
authorJacob Thornton <jacobthornton@gmail.com>
Thu, 22 Dec 2011 01:38:05 +0000 (17:38 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Thu, 22 Dec 2011 01:38:05 +0000 (17:38 -0800)
Makefile
js/bootstrap-collapse.js
js/bootstrap-transition.js

index e5c083ae6f0a89f0c068e340f1bce225023195ef..1f38338f8032f4ea6124a8d3c2c216b513824480 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,15 +22,16 @@ build:
 uglify:
        @@if test ! -z ${UGLIFY_JS}; then \
                mkdir -p js/min; \
-               uglifyjs -o js/min/bootstrap-accordion.js js/bootstrap-accordion.js;\
-               uglifyjs -o js/min/bootstrap-alerts.js js/bootstrap-alerts.js;\
-               uglifyjs -o js/min/bootstrap-buttons.js js/bootstrap-buttons.js;\
+               uglifyjs -o js/min/bootstrap-alerts.js js/bootstrap-alert.js;\
+               uglifyjs -o js/min/bootstrap-buttons.js js/bootstrap-button.js;\
+               uglifyjs -o js/min/bootstrap-carousel.js js/bootstrap-carousel.js;\
+               uglifyjs -o js/min/bootstrap-collapse.js js/bootstrap-collapse.js;\
                uglifyjs -o js/min/bootstrap-dropdown.js js/bootstrap-dropdown.js;\
                uglifyjs -o js/min/bootstrap-modal.js js/bootstrap-modal.js;\
                uglifyjs -o js/min/bootstrap-popover.js js/bootstrap-popover.js;\
                uglifyjs -o js/min/bootstrap-scrollspy.js js/bootstrap-scrollspy.js;\
-               uglifyjs -o js/min/bootstrap-tabs.js js/bootstrap-tabs.js;\
-               uglifyjs -o js/min/bootstrap-transitions.js js/bootstrap-transitions.js;\
+               uglifyjs -o js/min/bootstrap-tabs.js js/bootstrap-tab.js;\
+               uglifyjs -o js/min/bootstrap-transitions.js js/bootstrap-transition.js;\
                uglifyjs -o js/min/bootstrap-twipsy.js js/bootstrap-twipsy.js;\
        else \
                echo "You must have the UGLIFYJS minifier installed in order to minify Bootstrap's js."; \
index 313c0abcab1977fb5a072042c683b18cb622231d..9301c7309dfeb6a0eb1b1217fc20aef4067d7637 100644 (file)
@@ -17,7 +17,7 @@
  * limitations under the License.
  * ============================================================ */
 
-(function( $ ){
+!function( $ ){
 
   "use strict"
 
     })
   })
 
-})( window.jQuery )
\ No newline at end of file
+}( window.jQuery )
\ No newline at end of file
index 25f8b111f1cd39ef3b374176177a679c603d205b..29fa1bdebc9566806cb00e97f627fea734436b95 100644 (file)
@@ -19,6 +19,8 @@
 
 $(function () {
 
+  "use strict"
+
   /* CSS TRANSITION SUPPORT (https://gist.github.com/373874)
    * ======================================================= */