style-guide 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/app/assets/javascripts/style_guide/partial.js +6 -6
- data/lib/style_guide/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4c019de3c892a0f977e6c0819bcf2aec1e59d0
|
4
|
+
data.tar.gz: 562f33c3bcfa719babd4c45bb1ed53ce021bcf5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e7c3642bfec19996d10223ab876b106abd6be46220de00748502fe8c1e3e6974fe3b204ec98a11b4638c5c40f12a774429160a8645a4cc900664868d8160ff3
|
7
|
+
data.tar.gz: fd14e628b3ebc6348616688d8b08db837e635ae28bff21bc5f10a8282f371ac4cae91a2d0ca4c2f52e9b01a856fe84236747be928c2ec2b0620c23bee6828086
|
data/.gitignore
CHANGED
@@ -7,13 +7,13 @@
|
|
7
7
|
event.preventDefault();
|
8
8
|
}
|
9
9
|
|
10
|
-
function
|
10
|
+
function preventDefaultOn(elements, eventName) {
|
11
11
|
for (var i = 0, element; element = elements[i]; i++) {
|
12
|
-
element.
|
12
|
+
element.addEventListener(eventName, eventDefaultPreventer, false);
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
})();
|
16
|
+
preventDefaultOn($forms, 'submit');
|
17
|
+
preventDefaultOn($sources, 'click');
|
18
|
+
preventDefaultOn($links, 'click');
|
19
|
+
})();
|
data/lib/style_guide/version.rb
CHANGED