bootstrap_builders 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebba8b9b4b83d3720ef2ac45eba241e7f09d5a4e
|
4
|
+
data.tar.gz: b9c58fedd847f6c22c268c6b99ffaf75e2ec1e4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b78404a58e8ca7580402148d6e111c58fe755c096da3d4fbd1914a54fdac70db02cc703d5014ec57669eb9ad851a967441b6ea33be9936c870e9cc200cd6f6fa
|
7
|
+
data.tar.gz: 94b9e1d92328276573f3b02d21375404e220b176fd5895f1aa56a7a0b56e8e2c47b47cbac50265e6c42c4798c7f747c7093c7fa0cf68e588abfff20a394105e9
|
data/README.md
CHANGED
@@ -21,9 +21,15 @@ Then add to your `application.js`:
|
|
21
21
|
//= require bootstrap_builders
|
22
22
|
```
|
23
23
|
|
24
|
-
Then add to your `application.
|
24
|
+
Then add to your `application.scss`:
|
25
|
+
```scss´
|
26
|
+
@import "bootstrap_builders";
|
27
|
+
```
|
28
|
+
|
29
|
+
Or if you haven't loaded Bootstrap through SCSS:
|
25
30
|
```scss
|
26
|
-
|
31
|
+
@import "bootstrap_builders/bootstrap-variables";
|
32
|
+
@import "bootstrap_builders";
|
27
33
|
```
|
28
34
|
|
29
35
|
## Usage
|
@@ -40,6 +40,8 @@ function loadActiveAjaxTabOnPageLoad() {
|
|
40
40
|
}
|
41
41
|
|
42
42
|
$(document).ready(function() {
|
43
|
+
loadActiveAjaxTabOnPageLoad()
|
44
|
+
|
43
45
|
// Changes the tab on 'back' and 'forward' events
|
44
46
|
$(window).bind("popstate", function(e) {
|
45
47
|
if (e.originalEvent.state && e.originalEvent.state.event == "bb-tab-change") {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_builders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kaspernj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html_gen
|