Emanuele 8 gadi atpakaļ
vecāks
revīzija
c0fb653160

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # Changelog
 
+## 3.3.4
+
+- Fix Object.assign not working for IE <= 11 [#616](https://github.com/Bttstrp/bootstrap-switch/issues/616)
+
 ## 3.3.3
 
 - Deprecate CoffeeScript in favour of ES6+ with Babel

+ 1 - 1
composer.json

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

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

@@ -1,7 +1,7 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.3
+  * @version v3.3.4
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
   * @license Apache-2.0

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

@@ -1,7 +1,7 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.3
+  * @version v3.3.4
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
   * @license Apache-2.0

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

@@ -1,7 +1,7 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.3
+  * @version v3.3.4
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
   * @license Apache-2.0

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

@@ -1,7 +1,7 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.3
+  * @version v3.3.4
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
   * @license Apache-2.0

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

@@ -1,7 +1,7 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.3
+  * @version v3.3.4
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
   * @license Apache-2.0

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

@@ -1,7 +1,7 @@
 /**
   * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
   *
-  * @version v3.3.3
+  * @version v3.3.4
   * @homepage https://bttstrp.github.io/bootstrap-switch
   * @author Mattia Larentis <[email protected]> (http://larentis.eu)
   * @license Apache-2.0

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/404.html


+ 0 - 1
docs/CNAME

@@ -1 +0,0 @@
-bootstrapswitch.com

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/documentation-2.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/events.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/examples.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/index.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/methods.html


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
docs/options.html


+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "bootstrap-switch",
   "description": "Turn checkboxes and radio buttons into toggle switches.",
-  "version": "3.3.3",
+  "version": "3.3.4",
   "keywords": [
     "bootstrap",
     "switch",

+ 7 - 0
src/docs/harp.json

@@ -0,0 +1,7 @@
+{
+  "globals": {
+    "title": "Bootstrap Switch",
+    "description": "Turn checkboxes and radio buttons into toggle switches",
+    "version": "3.3.4"
+  }
+}

+ 0 - 0
src/docs/404.jade → src/docs/public/404.jade


+ 3 - 3
src/docs/_layout.jade → src/docs/public/_layout.jade

@@ -4,9 +4,9 @@ html(lang='en')
     meta(charset='utf-8')
     meta(http-equiv='x-ua-Compatible' content='ie=edge')
     meta(name='viewport', content='width=device-width, initial-scale=1.0')
-    meta(name='description', content='Turn checkboxes and radio buttons into toggle switches.')
+    meta(name='description', content=description)
     meta(name='author', content='Mattia Larentis, Emanuele Marchi and Peter Stein')
-    title Bootstrap Switch · Turn checkboxes and radio buttons into toggle switches
+    title #{title} · #{description}
     link(href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' rel='stylesheet')
     link(href='css/highlight.css' rel='stylesheet')
     link(href="https://unpkg.com/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.css" rel='stylesheet')
@@ -24,7 +24,7 @@ html(lang='en')
             span.icon-bar
             span.icon-bar
             span.icon-bar
-          a.navbar-brand(href='../') Bootstrap Switch
+          a.navbar-brand(href='../')= title
         nav#collapse.collapse.navbar-collapse.bs-navbar-collapse(role='navigation')
           ul.nav.navbar-nav
             li: a(href='https://github.com/Bttstrp/bootstrap-switch/archive/master.zip', data-toggle='dropdown') Download

+ 0 - 0
src/docs/css/highlight.css → src/docs/public/css/highlight.css


+ 0 - 0
src/docs/css/main.less → src/docs/public/css/main.less


+ 1 - 1
src/docs/documentation-2.jade → src/docs/public/documentation-2.jade

@@ -198,7 +198,7 @@
           td null
         tr
           td destroy
-          td Destroy the instance of Bootstrap Switch
+          td Destroy the instance of #{title}
           td
           td jQuery Object (input element)
 

+ 0 - 0
src/docs/events.jade → src/docs/public/events.jade


+ 0 - 0
src/docs/examples.jade → src/docs/public/examples.jade


+ 5 - 5
src/docs/index.jade → src/docs/public/index.jade

@@ -1,6 +1,6 @@
 .bs-docs-masthead
   .container
-    h1.title Bootstrap Switch
+    h1.title= title
 
     p.lead
       | Turn checkboxes &nbsp;
@@ -11,18 +11,18 @@
       input(type='checkbox', checked)
 
     p.lead
-      a.btn.btn-outline-inverse.btn-lg(href='https://github.com/Bttstrp/bootstrap-switch/archive/master.zip') Download Bootstrap Switch
+      a.btn.btn-outline-inverse.btn-lg(href='https://github.com/Bttstrp/bootstrap-switch/archive/master.zip') Download #{title}
     p.bs-docs-social
       iframe(src='https://ghbtns.com/github-btn.html?user=Bttstrp&repo=bootstrap-switch&type=watch&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='184', height='30')
       iframe(src='https://ghbtns.com/github-btn.html?user=Bttstrp&repo=bootstrap-switch&type=fork&count=true&size=large', allowtransparency='true', frameborder='0', scrolling='0', width='144', height='30')
     br
     p.version
-      | Currently v3.3.3 · Compatible with Bootstrap 2 and 3
+      | Currently v#{version} · Compatible with Bootstrap 2 and 3
 
 .container
   h2.page-header Getting Started
 
-  p Include the dependencies: jQuery, Bootstrap and Bootstrap Switch CSS + Javascript.
+  p Include the dependencies: jQuery, Bootstrap and #{title} CSS + Javascript.
   pre: code
     | [...]
     | &lt;link href="bootstrap.css" rel="stylesheet"&gt;
@@ -34,7 +34,7 @@
   p Add your checkbox.
   pre: code &lt;input type="checkbox" name="my-checkbox" checked&gt;
 
-  p Initialize Bootstrap Switch.
+  p Initialize #{title}.
   pre: code $("[name='my-checkbox']").bootstrapSwitch();
 
   p Enjoy.

+ 0 - 0
src/docs/js/highlight.js → src/docs/public/js/highlight.js


+ 0 - 0
src/docs/js/main.js → src/docs/public/js/main.js


+ 2 - 2
src/docs/methods.jade → src/docs/public/methods.jade

@@ -3,7 +3,7 @@
     h1 Methods
 
 .container
-  p In Bootstrap Switch, every option is also a method.
+  p In #{title}, every option is also a method.
   p If the second parameter is omitted, the method returns the current value.
   p You can invoke methods as follows:
   pre: code $('input[name="my-checkbox"]').bootstrapSwitch('state', true, true);
@@ -36,7 +36,7 @@
         td Toggle the inverse option
       tr
         td destroy
-        td Destroy the instance of Bootstrap Switch
+        td Destroy the instance of #{title}
 
   h2 Special Behaviours
 

+ 0 - 0
src/docs/options.jade → src/docs/public/options.jade


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels