@@ -28,9 +28,9 @@ if (viewport.is('lg')) {
2828```` javascript
2929$ (window ).bind (' resize' , function () {
3030 viewport .changed (function () {
31-
31+
3232 // do some other stuff!
33-
33+
3434 })
3535});
3636````
@@ -40,9 +40,9 @@ $(window).bind('resize', function() {
4040```` javascript
4141$ (window ).bind (' resize' , function () {
4242 viewport .changed (function () {
43-
43+
4444 // do some other stuff!
45-
45+
4646 }, 600 )
4747});
4848````
@@ -52,9 +52,9 @@ $(window).bind('resize', function() {
5252```` javascript
5353$ (window ).bind (' resize' , function () {
5454 viewport .changed (function () {
55-
55+
5656 console .log ( ' Current breakpoint: ' + viewport .current () );
57-
57+
5858 })
5959});
6060````
@@ -64,7 +64,7 @@ $(window).bind('resize', function() {
6464
6565```` css
6666h1 {
67- @include set (font-size , (xs : 20px , sm: 24px , md: 24px , lg: 30px ) );
67+ @include set (font-size , (xs : 20px , sm: 24px , md: 24px , lg: 30px ) );
6868}
6969````
7070
@@ -98,16 +98,10 @@ Output:
9898Include just before ` </body> `
9999
100100```` html
101- <!-- Mandatory for Responsive Bootstrap Toolkit to operate -->
102- <div class =" device-xs visible-xs" ></div >
103- <div class =" device-sm visible-sm" ></div >
104- <div class =" device-md visible-md" ></div >
105- <div class =" device-lg visible-lg" ></div >
106-
107101<!-- Responsive Bootstrap Toolkit -->
108102<script src =" js/bootstrap-toolkit.min.js" ></script >
109103
110- <!-- Your scripts using Bootstrap Toolkit -->
104+ <!-- Your scripts using Responsive Bootstrap Toolkit -->
111105<script src =" js/main.js" ></script >
112106````
113107
@@ -125,5 +119,3 @@ Copy contents of `compass/bootstrap-toolkit` directory into your project. File `
125119** CSS features:**
126120 1 . SASS 3.3+
127121 2 . Compass
128-
129-
0 commit comments