accessible-bootstrap3-rails 0.1.0 → 0.1.1

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: 5e0c125bff2c38c53288abb742f5f9f55bf931a0
4
- data.tar.gz: 8a6b6dcedb2e9ed0378737284a5a041aceb893d5
3
+ metadata.gz: e3951c3193d2584260d2921a03aa09309224949f
4
+ data.tar.gz: eeff5e2889ed3e57e8583e54903f2d49adbeb4e3
5
5
  SHA512:
6
- metadata.gz: c5fda2b1a52fb9755a2ed6c0969740f05620f692ff4e1e511c3e3f47d8a375f263213e0cafd58aa5d71fcf9c6de3462998e4837625a23884f68853a50ca7ac2b
7
- data.tar.gz: cd878a5b15402af9469fe6085e3dd3f5b96e209342def9f2656dffa5bd3b726dfe9c83aaa20458faa24afd1d458a6f75b59c5be1fba95bb387783c84bda45675
6
+ metadata.gz: 49087b8342c1a7175dd3428ece9a2d83d746fad70bd44e4291c2529f95976d969c9b51ee37724c6a466b52668cec66a689aebb8f6c490f41698a6a9e506cea48
7
+ data.tar.gz: 4e7837e4737dc3af4c0fb62287bfadcaa948c212bd50e0b40b2fb4889b74f0599d30969d3f67693a3086a91d39a07dd4dbb8ef5820e36c0d71807b0c21f2afd6
@@ -3,8 +3,8 @@
3
3
  [
4
4
  {
5
5
  "name": "accessible-bootstrap3",
6
- "raw": "accessible-bootstrap3",
7
- "rawSpec": "",
6
+ "raw": "accessible-bootstrap3@latest",
7
+ "rawSpec": "latest",
8
8
  "scope": null,
9
9
  "spec": "latest",
10
10
  "type": "tag"
@@ -13,14 +13,14 @@
13
13
  ]
14
14
  ],
15
15
  "_from": "accessible-bootstrap3@latest",
16
- "_id": "accessible-bootstrap3@0.1.0",
16
+ "_id": "accessible-bootstrap3@0.1.1",
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.0.tgz_1465563692135_0.5165368870366365"
23
+ "tmp": "tmp/accessible-bootstrap3-0.1.1.tgz_1465570960762_0.3307645993772894"
24
24
  },
25
25
  "_npmUser": {
26
26
  "email": "the-team@reax.io",
@@ -30,8 +30,8 @@
30
30
  "_phantomChildren": {},
31
31
  "_requested": {
32
32
  "name": "accessible-bootstrap3",
33
- "raw": "accessible-bootstrap3",
34
- "rawSpec": "",
33
+ "raw": "accessible-bootstrap3@latest",
34
+ "rawSpec": "latest",
35
35
  "scope": null,
36
36
  "spec": "latest",
37
37
  "type": "tag"
@@ -39,10 +39,10 @@
39
39
  "_requiredBy": [
40
40
  "/"
41
41
  ],
42
- "_resolved": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.0.tgz",
43
- "_shasum": "83fd897fd33350c9d64eb44ec1fed4094b48d7ae",
42
+ "_resolved": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.1.tgz",
43
+ "_shasum": "481f035b1d88f29e9a3645bf99f67e3a6e7c2480",
44
44
  "_shrinkwrap": null,
45
- "_spec": "accessible-bootstrap3",
45
+ "_spec": "accessible-bootstrap3@latest",
46
46
  "_where": "/Users/brandonhoward/Desktop/code/reax_code/accessible-bootstrap3-rails",
47
47
  "author": {
48
48
  "email": "brandon@reax.io",
@@ -59,17 +59,21 @@
59
59
  "devDependencies": {},
60
60
  "directories": {},
61
61
  "dist": {
62
- "shasum": "83fd897fd33350c9d64eb44ec1fed4094b48d7ae",
63
- "tarball": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.0.tgz"
62
+ "shasum": "481f035b1d88f29e9a3645bf99f67e3a6e7c2480",
63
+ "tarball": "https://registry.npmjs.org/accessible-bootstrap3/-/accessible-bootstrap3-0.1.1.tgz"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=4.2.4"
67
67
  },
68
- "gitHead": "fb461a2f25dab0c7b5748196f7e480d95be4d809",
68
+ "gitHead": "49cd7f158c962f94ff19bee54ee8a0128a4a5b27",
69
69
  "homepage": "https://github.com/ReaxDev/accessible-bootstrap3#readme",
70
70
  "license": "MIT",
71
71
  "main": "index.js",
72
72
  "maintainers": [
73
+ {
74
+ "email": "brandonrhoward@gmail.com",
75
+ "name": "brandon_ray_howard"
76
+ },
73
77
  {
74
78
  "email": "the-team@reax.io",
75
79
  "name": "reax"
@@ -85,5 +89,5 @@
85
89
  "scripts": {
86
90
  "test": "echo \"Error: no test specified\" && exit 1"
87
91
  },
88
- "version": "0.1.0"
92
+ "version": "0.1.1"
89
93
  }
data/copy.sh CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
- npm install accessible-bootstrap3
3
+ npm install accessible-bootstrap3@latest
4
4
 
5
5
  rm -rf vendor
6
6
 
@@ -20,5 +20,5 @@ cat node_modules/accessible-bootstrap3/README.md >> README.md
20
20
 
21
21
  rm -rf node_modules
22
22
 
23
- echo 'Done.'
24
- echo 'DO NOT FORGET TO UPDATE VERSION IN GEMSPEC!'
23
+ echo 'Nailed it!'
24
+ echo "Don't forget to bump the GIT tag."
data/package.json CHANGED
@@ -9,7 +9,6 @@
9
9
  "author": "Brandon Howard <brandon@reax.io> (brandonrhoward.com)",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "accessible-bootstrap3": "0.1.0",
13
- "bootstrap3-accessibility-patches": "0.0.5"
12
+ "accessible-bootstrap3": "0.1.1"
14
13
  }
15
14
  }
@@ -86,6 +86,19 @@ $(document).ready(function() {
86
86
  subMenu.css('display') == "none" ? subMenu.css('display', 'block' ) : subMenu.css('display', 'none' )
87
87
  }
88
88
  });
89
+
90
+ $(".dropdown-menu").keydown(function(event) {
91
+ closeIfEscapeKeyDown(event, $(this));
92
+ }).children().bind("click",function(event){
93
+ closeIfEscapeKeyDown(event, $(this));
94
+ });
95
+
96
+ var closeIfEscapeKeyDown = function(event, element) {
97
+ if ((event.keyCode || event.which) == 27) {
98
+ element.prev("a").focus().click();
99
+ }
100
+ }
101
+
89
102
  ///////////////////////////////////////////////////////
90
103
 
91
104
  //// Skip Navigation ////////////////////////////////////////////////////
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accessible-bootstrap3-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - brayhoward