accessible-bootstrap3-rails 0.1.1 → 0.1.3
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: 10f78520a528d0ce96ea66cc5b05268c6bc73479
|
|
4
|
+
data.tar.gz: 554f7932620ecfd1f36114fe73c184a631a03940
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f38e58ae121d8b11db37328469c8ebec2e1e51a6267c540a811ad3712625ac7a7ecc99f5a7209a886b97bab9b8288e126696a17a4d0487f7f48202b393d2b766
|
|
7
|
+
data.tar.gz: e5d9bee78afae880386eb185269835441a0c95b33283f45a2ddb002a89d4efecddc61049d27f8581a1f8474751e6a370a12ea1df3b83d55e770bfbb52622f856
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
]
|
|
14
14
|
],
|
|
15
15
|
"_from": "accessible-bootstrap3@latest",
|
|
16
|
-
"_id": "accessible-bootstrap3@0.1.
|
|
16
|
+
"_id": "accessible-bootstrap3@0.1.3",
|
|
17
17
|
"_inCache": true,
|
|
18
18
|
"_installable": true,
|
|
19
19
|
"_location": "/accessible-bootstrap3",
|
|
20
20
|
"_nodeVersion": "5.10.0",
|
|
21
21
|
"_npmOperationalInternal": {
|
|
22
22
|
"host": "packages-12-west.internal.npmjs.com",
|
|
23
|
-
"tmp": "tmp/accessible-bootstrap3-0.1.
|
|
23
|
+
"tmp": "tmp/accessible-bootstrap3-0.1.3.tgz_1465835491845_0.7610545591451228"
|
|
24
24
|
},
|
|
25
25
|
"_npmUser": {
|
|
26
26
|
"email": "the-team@reax.io",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"_requiredBy": [
|
|
40
40
|
"/"
|
|
41
41
|
],
|
|
42
|
-
"_resolved": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.3.tgz",
|
|
43
|
+
"_shasum": "7b97db39c0aaa695f77bdefa429340ab67a7bf0c",
|
|
44
44
|
"_shrinkwrap": null,
|
|
45
45
|
"_spec": "accessible-bootstrap3@latest",
|
|
46
46
|
"_where": "/Users/brandonhoward/Desktop/code/reax_code/accessible-bootstrap3-rails",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"devDependencies": {},
|
|
60
60
|
"directories": {},
|
|
61
61
|
"dist": {
|
|
62
|
-
"shasum": "
|
|
63
|
-
"tarball": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.
|
|
62
|
+
"shasum": "7b97db39c0aaa695f77bdefa429340ab67a7bf0c",
|
|
63
|
+
"tarball": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.3.tgz"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=4.2.4"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "153a35f08be1997edcb56c36f350194bf49162ff",
|
|
69
69
|
"homepage": "https://github.com/ReaxDev/accessible-bootstrap3#readme",
|
|
70
70
|
"license": "MIT",
|
|
71
71
|
"main": "index.js",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"scripts": {
|
|
90
90
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
91
91
|
},
|
|
92
|
-
"version": "0.1.
|
|
92
|
+
"version": "0.1.3"
|
|
93
93
|
}
|
data/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
$(document).ready(function() {
|
|
2
|
-
console.log("bootstrap3
|
|
2
|
+
console.log("accessible-bootstrap3 loaded.");
|
|
3
3
|
|
|
4
4
|
var getKeyCode = function(event) {
|
|
5
5
|
// Some browsers use keyCode and some use which.
|
|
6
6
|
// Return whichever one doesn't blow up.
|
|
7
7
|
return event.keyCode || event.which;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
//////////////////////////////////////////////////////////////////
|
|
10
11
|
// This code removes the open class from a .dropdown menu,
|
|
11
12
|
// or adds {"display": "none"} css to .sub-menu menu
|
|
@@ -133,7 +134,12 @@ $(document).ready(function() {
|
|
|
133
134
|
event.target.click();
|
|
134
135
|
return false
|
|
135
136
|
}
|
|
136
|
-
if ($(event.target).is("select")) {
|
|
137
|
+
if ($(event.target).is("select")) {
|
|
138
|
+
event.preventDefault();
|
|
139
|
+
mouseDown(event.target);
|
|
140
|
+
return false
|
|
141
|
+
}
|
|
142
|
+
if ($(event.target).is(".redactor-editor")) {return true}
|
|
137
143
|
|
|
138
144
|
tabIndexForward(event);
|
|
139
145
|
event.preventDefault();
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: accessible-bootstrap3-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- brayhoward
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|