Просмотр исходного кода

Restored copyright messages to generated css and js.

Michael Hellein 11 лет назад
Родитель
Сommit
351dc73429

+ 1 - 0
Gruntfile.js

@@ -37,6 +37,7 @@ module.exports = function(grunt) {
 
     uglify: {
       build: {
+        preserveComments: 'some',
         expand: true,
         src: 'build/js/bootstrap-switch.js',
         ext: '.min.js'

+ 1 - 1
build/css/bootstrap2/bootstrap-switch.css

@@ -1,4 +1,4 @@
-/* ============================================================
+/*! ===========================================================
  * bootstrap-switch v1.9.0 by Larentis Mattia @SpiritualGuru
  * http://www.larentis.eu/
  *

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
build/css/bootstrap2/bootstrap-switch.min.css


+ 1 - 1
build/css/bootstrap3/bootstrap-switch.css

@@ -1,4 +1,4 @@
-/* ============================================================
+/*! ===========================================================
  * bootstrap-switch v1.9.0 by Larentis Mattia @SpiritualGuru
  * http://www.larentis.eu/
  *

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
build/css/bootstrap3/bootstrap-switch.min.css


+ 16 - 0
build/js/bootstrap-switch.js

@@ -1,3 +1,19 @@
+/*! ============================================================
+ * bootstrap-switch v1.9.0 by Larentis Mattia @SpiritualGuru
+ * http://www.larentis.eu/
+ *
+ * Enhanced for radiobuttons by Stein, Peter @BdMdesigN
+ * http://www.bdmdesign.org/
+ *
+ * Project site:
+ * http://www.bootstrap-switch.org
+ * ============================================================
+ * Licensed under the Apache License, Version 2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * ============================================================
+*/
+
+
 (function() {
   (function($) {
     $.fn.bootstrapSwitch = function(method) {

+ 13 - 0
src/coffee/bootstrap-switch.coffee

@@ -1,3 +1,16 @@
+###! ============================================================
+ * bootstrap-switch v1.9.0 by Larentis Mattia @SpiritualGuru
+ * http://www.larentis.eu/
+ *
+ * Enhanced for radiobuttons by Stein, Peter @BdMdesigN
+ * http://www.bdmdesign.org/
+ *
+ * Project site:
+ * http://www.bootstrap-switch.org
+ * ============================================================
+ * Licensed under the Apache License, Version 2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * ============================================================ ###
 (($) ->
   $.fn.bootstrapSwitch = (method) ->
     methods =

+ 1 - 1
src/less/bootstrap2/bootstrap-switch.less

@@ -1,4 +1,4 @@
-/* ============================================================
+/*! ===========================================================
  * bootstrap-switch v1.9.0 by Larentis Mattia @SpiritualGuru
  * http://www.larentis.eu/
  *

+ 1 - 1
src/less/bootstrap3/bootstrap-switch.less

@@ -1,4 +1,4 @@
-/* ============================================================
+/*! ===========================================================
  * bootstrap-switch v1.9.0 by Larentis Mattia @SpiritualGuru
  * http://www.larentis.eu/
  *

Некоторые файлы не были показаны из-за большого количества измененных файлов