Emanuele Marchi 10 năm trước cách đây
mục cha
commit
1e8b18c3b8

+ 3 - 3
bower.json

@@ -1,7 +1,7 @@
 {
   "name": "bootstrap-switch",
   "description": "Turn checkboxes and radio buttons in toggle switches.",
-  "version": "3.2.2",
+  "version": "3.3.0",
   "main": [
     "./dist/js/bootstrap-switch.js",
     "./dist/css/bootstrap3/bootstrap-switch.css"
@@ -23,7 +23,7 @@
     "jquery": ">=1.9.0"
   },
   "devDependencies": {
-    "jquery": "~2.1.1",
-    "bootstrap": "~3.2.0"
+    "jquery": "~2.1",
+    "bootstrap": "~3.3"
   }
 }

+ 1 - 1
composer.json

@@ -1,7 +1,7 @@
 {
   "name": "components/bootstrap-switch",
   "description": "Turn checkboxes and radio buttons in toggle switches.",
-  "version": "3.2.2",
+  "version": "3.3.0",
   "type": "component",
   "keywords": [
     "bootstrap",

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

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.2.2
+ * bootstrap-switch - v3.3.0
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 1 - 1
dist/css/bootstrap2/bootstrap-switch.min.css

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.2.2
+ * bootstrap-switch - v3.3.0
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

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

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.2.2
+ * bootstrap-switch - v3.3.0
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/css/bootstrap3/bootstrap-switch.min.css


+ 1 - 1
dist/js/bootstrap-switch.js

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.2.2
+ * bootstrap-switch - v3.3.0
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 1 - 1
dist/js/bootstrap-switch.min.js

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.2.2
+ * bootstrap-switch - v3.3.0
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

+ 0 - 5
docs/css/main.css

@@ -17,11 +17,6 @@ body {
   text-align: center;
 }
 
-.old-version {
-  color: #ccc;
-  text-decoration: line-through;
-}
-
 #github {
   display: none;
   position: fixed;

+ 3 - 14
docs/js/main.js

@@ -16,19 +16,10 @@ $(function() {
     }
   });
 
-  // download switch
-  $('input[name="download-version"]').on({
-    'init.bootstrapSwitch': function() {
-      $('#download-' + ($(this).is(':checked') ? '2' : '3')).hide();
-    },
-    'switchChange.bootstrapSwitch': function(event, state) {
-      $('#download-3')[state ? 'show' : 'hide']();
-      $('#download-2')[state ? 'hide' : 'show']();
-    }
-  });
-
   // initialize all the inputs
-  $('input[type="checkbox"], input[type="radio"]:not("#switch-create-destroy, #switch-modal")').bootstrapSwitch();
+  $('input[type="checkbox"], input[type="radio"]')
+  .not("[data-switch-no-init]")
+  .bootstrapSwitch();
 
   $('[data-switch-get]').on("click", function() {
     var type = $(this).data('switch-get');
@@ -66,6 +57,4 @@ $(function() {
     $createDestroy.bootstrapSwitch(isSwitch ? 'destroy' : null);
     $(this).button(isSwitch ? 'reset' : 'destroy');
   });
-
-  $('#modal-switch');
 });

+ 2 - 2
documentation-2.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>

+ 3 - 3
events-3.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>
@@ -59,7 +59,7 @@
       </div>
     </header>
     <div class="container content">
-      <h1 class="page-header">Events &nbsp;<small>Version 3 (Stable)</small></h1>
+      <h1 class="page-header">Events &nbsp;<small>Version 3</small></h1>
       <p>
         All the events are namespaced, therefore always append <code>.bootstrapSwitch</code> when you
         attach your handlers.<br>

+ 3 - 3
examples.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>
@@ -232,7 +232,7 @@
         <div class="col-sm-6 col-lg-4">
           <h2 class="h4">Create | Destroy</h2>
           <p>
-            <input id="switch-create-destroy" type="checkbox" checked>
+            <input id="switch-create-destroy" type="checkbox" checked data-switch-no-init>
           </p>
           <div class="row">
             <div class="col-sm-6">

+ 6 - 1
gulpfile.coffee

@@ -6,6 +6,9 @@ karmaConfig = require './karma.json'
 pkg = require './package.json'
 name = pkg.name
 
+cleanCss = require 'less-plugin-clean-css'
+cleanCss = new cleanCss advanced: true
+
 paths =
   src: 'src'
   dist: 'dist'
@@ -14,6 +17,7 @@ paths =
 server =
   host: 'localhost'
   port: 3000
+
 banner = """
   /* ========================================================================
    * <%= pkg.name %> - v<%= pkg.version %>
@@ -65,7 +69,7 @@ gulp.task 'less-bootstrap2', ->
   .pipe $.header banner, pkg: pkg
   .pipe $.rename basename: name
   .pipe gulp.dest "#{paths.dist}/css/bootstrap2"
-  .pipe $.less compress: true, cleancss: true
+  .pipe $.less plugins: [cleanCss]
   .pipe $.header banner, pkg: pkg
   .pipe $.rename suffix: '.min'
   .pipe gulp.dest "#{paths.dist}/css/bootstrap2"
@@ -121,6 +125,7 @@ gulp.task 'watch', ['connect'], ->
   gulp.watch "#{paths.src}/less/bootstrap2/*.less", ['less-bootstrap2']
   gulp.watch "#{paths.src}/less/bootstrap3/*.less", ['less-bootstrap3']
   gulp.watch "#{paths.src}/docs/*.jade", ['docs']
+  gulp.watch('package.json', ['dist']).on 'change', -> pkg = require './package.json'
   gulp.watch [
     "#{paths.dist}/js/**/*.js"
     "#{paths.dist}/css/**/*.css"

+ 8 - 19
index.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>
@@ -60,27 +60,16 @@
     </header>
     <div class="container content">
       <div class="header">
-        <h2 class="title">Bootstrap Switch <strong>3</strong> <span class="old-version">2.0.1</span></h2>
-        <p class="lead">Turn checkboxes and radio buttons in toggle switches.</p>
-        <p>Select the version to download:</p>
-        <p>
-          <input type="checkbox" name="download-version" checked data-size="large" data-on-text="3" data-off-text="2.0.1">
+        <h2 class="title">Bootstrap Switch</h2>
+        <p class="lead">Turn checkboxes &nbsp;
+          <input type="checkbox" checked data-switch-no-init>&nbsp; and and radio buttons &nbsp;
+          <input type="radio" checked data-switch-no-init>&nbsp; in toggle switches &nbsp;
+          <input type="checkbox" checked>
         </p>
-        <p><a id="download-3" href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip" class="btn btn-lg btn-primary">Download 3</a><a id="download-2" href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip" class="btn btn-lg btn-primary">Download 2.0.1</a></p><br><br>
+        <p><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip" class="btn btn-lg btn-primary">Download 3</a></p><br>
         <iframe src="http://ghbtns.com/github-btn.html?user=nostalgiaz&amp;repo=bootstrap-switch&amp;type=watch&amp;count=true&amp;size=large" allowtransparency="true" frameborder="0" scrolling="0" width="184" height="30"></iframe>
         <iframe src="http://ghbtns.com/github-btn.html?user=nostalgiaz&amp;repo=bootstrap-switch&amp;type=fork&amp;count=true&amp;size=large" allowtransparency="true" frameborder="0" scrolling="0" width="144" height="30"></iframe>
       </div>
-      <!--
-      .alert.alert-info
-        p
-          | <strong>Documentation in progress!</strong><br>
-          | It might not seem, but it's actually a lot of work. The goal is to make it as cleanest, most readable and
-          | understandable as possible.<br>
-          | If you feel there is something missing, submit a
-          | <a href="https://github.com/nostalgiaz/bootstrap-switch/pulls">pull request</a> with your changes. Every
-          | help is needed. Many thanks.
-      
-      -->
       <h1 class="page-header">Getting Started</h1>
       <p>Include the dependencies: jQuery, Bootstrap and Bootstrap Switch CSS + Javascript.</p>
       <pre><code>[...]

+ 2 - 2
main.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>

+ 3 - 3
methods-3.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>
@@ -59,7 +59,7 @@
       </div>
     </header>
     <div class="container content">
-      <h1 class="page-header">Methods &nbsp;<small>Version 3 (Stable)</small></h1>
+      <h1 class="page-header">Methods &nbsp;<small>Version 3</small></h1>
       <p>In Bootstrap Switch, every option is also a method.</p>
       <p>If the second parameter is omitted, the method return the current value.</p>
       <p>You can invoke methods as follows:</p>

+ 3 - 3
options-3.html

@@ -36,7 +36,7 @@
           <ul class="nav navbar-nav">
             <li class="dropdown"><a href="#" data-toggle="dropdown">Download<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3 (Stable)</a></li>
+                <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip">3</a></li>
                 <li><a href="https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip">2.0.1 (Legacy)</a></li>
               </ul>
             </li>
@@ -44,7 +44,7 @@
             <li><a href="examples.html">Examples</a></li>
             <li class="dropdown"><a href="#" data-toggle="dropdown">Documentation<span class="caret"></span></a>
               <ul class="dropdown-menu">
-                <li class="dropdown-header">Version 3 (Stable)</li>
+                <li class="dropdown-header">Version 3</li>
                 <li><a href="/options-3.html">Options</a></li>
                 <li><a href="/methods-3.html">Methods</a></li>
                 <li><a href="/events-3.html">Events</a></li>
@@ -59,7 +59,7 @@
       </div>
     </header>
     <div class="container content">
-      <h1 class="page-header">Options &nbsp;<small>Version 3 (Stable)</small></h1>
+      <h1 class="page-header">Options &nbsp;<small>Version 3</small></h1>
       <table class="table table-bordered table-striped table-responsive">
         <thead>
           <tr>

+ 27 - 23
package.json

@@ -1,7 +1,7 @@
 {
   "name": "bootstrap-switch",
   "description": "Turn checkboxes and radio buttons in toggle switches.",
-  "version": "3.2.2",
+  "version": "3.3.0",
   "keywords": [
     "bootstrap",
     "switch",
@@ -11,7 +11,7 @@
   "homepage": "http://www.bootstrap-switch.org",
   "author": {
     "name": "Mattia Larentis",
-    "email": "[email protected]",
+    "email": "[email protected]",
     "url": "http://larentis.eu"
   },
   "contributors": [
@@ -37,36 +37,40 @@
   "license": "Apache Version 2",
   "readmeFilename": "README.md",
   "devDependencies": {
+    "coffee-script": "~1.8.0",
+    "gulp": "~3.8.9",
+    "gulp-changed": "^1.1.0",
     "gulp-coffee": "~2.2.0",
-    "gulp-util": "~3.0.1",
-    "gulp-header": "~1.2.2",
-    "gulp-uglify": "~1.0.1",
     "gulp-coffeelint": "~0.4.0",
-    "gulp": "~3.8.9",
-    "gulp-less": "~1.3.6",
-    "gulp-rename": "~1.2.0",
+    "gulp-connect": "^2.2.0",
+    "gulp-header": "~1.2.2",
+    "gulp-jade": "^0.10.0",
+    "gulp-less": "^2.0.1",
+    "gulp-load-plugins": "^0.8.0",
     "gulp-open": "~0.3.0",
-    "gulp-load-plugins": "~0.7.0",
-    "gulp-jade": "~0.9.0",
-    "run-sequence": "~1.0.1",
-    "gulp-connect": "~2.0.6",
-    "coffee-script": "~1.8.0",
-    "gulp-changed": "~1.0.0",
+    "gulp-rename": "~1.2.0",
+    "gulp-uglify": "~1.0.1",
+    "gulp-util": "~3.0.1",
+    "jasmine-core": "^2.1.3",
     "karma": "~0.12.24",
     "karma-firefox-launcher": "~0.1.3",
-    "karma-jasmine": "~0.1.5"
+    "karma-jasmine": "^0.3.2",
+    "less-plugin-clean-css": "^1.2.0",
+    "run-sequence": "~1.0.1"
   },
   "scripts": {
     "build": "gulp dist",
     "test": "gulp test"
   },
   "npmName": "bootstrap-switch",
-  "npmFileMap": [{
-    "basePath": "/dist/",
-    "files": [
-      "*.js",
-      "bootstrap3/*.css",
-      "bootstrap2/*.css"
-    ]
-  }]
+  "npmFileMap": [
+    {
+      "basePath": "/dist/",
+      "files": [
+        "*.js",
+        "bootstrap3/*.css",
+        "bootstrap2/*.css"
+      ]
+    }
+  ]
 }

+ 1 - 1
src/docs/events-3.jade

@@ -3,7 +3,7 @@ extends main
 block content
   h1.page-header
     | Events &nbsp;
-    small Version 3 (Stable)
+    small Version 3
 
   p
     | All the events are namespaced, therefore always append <code>.bootstrapSwitch</code> when you

+ 1 - 1
src/docs/examples.jade

@@ -142,7 +142,7 @@ block content
     .col-sm-6.col-lg-4
       h2.h4 Create | Destroy
       p
-        input#switch-create-destroy(type='checkbox', checked)
+        input#switch-create-destroy(type='checkbox', checked, data-switch-no-init)
       .row
         .col-sm-6
           button.btn.btn-default(type='button', data-switch-create-destroy, data-destroy-text="Destroy") Create

+ 10 - 17
src/docs/index.jade

@@ -2,29 +2,22 @@ extends main
 
 block content
   .header
-    h2.title Bootstrap Switch <strong>3</strong> <span class="old-version">2.0.1</span>
+    h2.title Bootstrap Switch
+
+    p.lead
+      | Turn checkboxes &nbsp;
+      input(type='checkbox', checked, data-switch-no-init)
+      | &nbsp; and and radio buttons &nbsp;
+      input(type='radio', checked, data-switch-no-init)
+      | &nbsp; in toggle switches &nbsp;
+      input(type='checkbox', checked)
 
-    p.lead Turn checkboxes and radio buttons in toggle switches.
-    p Select the version to download:
-    p: input(type='checkbox', name='download-version', checked, data-size='large', data-on-text='3', data-off-text='2.0.1')
     p
-      a.btn.btn-lg.btn-primary#download-3(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') Download 3
-      a.btn.btn-lg.btn-primary#download-2(href='https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip') Download 2.0.1
-    br
+      a.btn.btn-lg.btn-primary(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') Download 3
     br
     iframe(src='http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=watch&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='184', height='30')
     iframe(src='http://ghbtns.com/github-btn.html?user=nostalgiaz&repo=bootstrap-switch&type=fork&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='144', height='30')
 
-  //
-    .alert.alert-info
-      p
-        | <strong>Documentation in progress!</strong><br>
-        | It might not seem, but it's actually a lot of work. The goal is to make it as cleanest, most readable and
-        | understandable as possible.<br>
-        | If you feel there is something missing, submit a
-        | <a href="https://github.com/nostalgiaz/bootstrap-switch/pulls">pull request</a> with your changes. Every
-        | help is needed. Many thanks.
-
   h1.page-header Getting Started
 
   p Include the dependencies: jQuery, Bootstrap and Bootstrap Switch CSS + Javascript.

+ 2 - 2
src/docs/main.jade

@@ -44,7 +44,7 @@ html(lang='en')
                 | Download
                 span.caret
               ul.dropdown-menu
-                li: a(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') 3 (Stable)
+                li: a(href='https://github.com/nostalgiaz/bootstrap-switch/archive/master.zip') 3
                 li: a(href='https://github.com/nostalgiaz/bootstrap-switch/archive/v2.0.1.zip') 2.0.1 (Legacy)
             li: a(href='index.html') Start
             li: a(href='examples.html') Examples
@@ -53,7 +53,7 @@ html(lang='en')
                 | Documentation
                 span.caret
               ul.dropdown-menu
-                li.dropdown-header Version 3 (Stable)
+                li.dropdown-header Version 3
                 li: a(href='/options-3.html') Options
                 li: a(href='/methods-3.html') Methods
                 li: a(href='/events-3.html') Events

+ 1 - 1
src/docs/methods-3.jade

@@ -3,7 +3,7 @@ extends main
 block content
   h1.page-header
     | Methods &nbsp;
-    small Version 3 (Stable)
+    small Version 3
 
   p In Bootstrap Switch, every option is also a method.
   p If the second parameter is omitted, the method return the current value.

+ 1 - 1
src/docs/options-3.jade

@@ -3,7 +3,7 @@ extends main
 block content
   h1.page-header
     | Options &nbsp;
-    small Version 3 (Stable)
+    small Version 3
 
   table.table.table-bordered.table-striped.table-responsive
     thead

+ 1 - 1
test/bootstrap-switch.js

@@ -1,5 +1,5 @@
 /* ========================================================================
- * bootstrap-switch - v3.2.2
+ * bootstrap-switch - v3.3.0
  * http://www.bootstrap-switch.org
  * ========================================================================
  * Copyright 2012-2013 Mattia Larentis

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác