utility_box 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.
data/README.md
CHANGED
@@ -20,20 +20,20 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
### Javascripts
|
22
22
|
|
23
|
-
-
|
24
|
-
-
|
25
|
-
-
|
26
|
-
-
|
27
|
-
-
|
28
|
-
-
|
29
|
-
-
|
30
|
-
-
|
23
|
+
- [Connection Manager](https://github.com/digitalopera/utility_box/wiki/Connection-Manager)
|
24
|
+
- [Ellipsis](https://github.com/digitalopera/utility_box/wiki/Ellipsis)
|
25
|
+
- [Events](https://github.com/digitalopera/utility_box/wiki/Events)
|
26
|
+
- [Forms](https://github.com/digitalopera/utility_box/wiki/Forms)
|
27
|
+
- [Preload Images](https://github.com/digitalopera/utility_box/wiki/Preload-Images)
|
28
|
+
- [Pusher](https://github.com/digitalopera/utility_box/wiki/Pusher)
|
29
|
+
- [Strings](https://github.com/digitalopera/utility_box/wiki/Strings)
|
30
|
+
- [Tables](https://github.com/digitalopera/utility_box/wiki/Tables)
|
31
31
|
|
32
32
|
### Stylesheets
|
33
33
|
|
34
34
|
- [Twitter Bootstrap SASS](https://github.com/thomas-mcdonald/bootstrap-sass)
|
35
35
|
- [Font Awesome SASS](https://github.com/littlebtc/font-awesome-sass-rails)
|
36
|
-
-
|
36
|
+
- [Mixins](https://github.com/digitalopera/utility_box/wiki/Mixins)
|
37
37
|
|
38
38
|
## Contributing
|
39
39
|
|
@@ -1,2 +1,10 @@
|
|
1
1
|
$(document).on 'click', 'tr[data-href]', (e) ->
|
2
|
-
|
2
|
+
target = $(e.target)
|
3
|
+
currentTarget = $(e.currentTarget)
|
4
|
+
if target.is('a') == false && target.parents('a').length == 0 # check to make sure click isn't within a link
|
5
|
+
href = currentTarget.attr('data-href')
|
6
|
+
if currentTarget.attr('data-blank') == 'true'
|
7
|
+
win = window.open(href, '_blank')
|
8
|
+
win.focus()
|
9
|
+
else
|
10
|
+
window.location = href
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utility_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bootstrap-sass
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.8.
|
140
|
+
rubygems_version: 1.8.24
|
141
141
|
signing_key:
|
142
142
|
specification_version: 3
|
143
143
|
summary: Adds a bunch of utility Javascript and CSS scaffolding via Twiiter Bootstrap
|