epi_js 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/epi_js/version.rb +1 -1
- data/vendor/assets/javascripts/flash_message.coffee +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b68802251feb225289d312519f89e24b9d9db46c
|
4
|
+
data.tar.gz: e102169528ac5e0d389a531ad9792a8f3d67e914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e839808976a8a020a4203a611ee9a71a7da1851cd8315d1de51c4e98924fc8ff9ad8cad07c9e90597bc09496e3f5a867fd943933f685c77a7af60aeb90215f8
|
7
|
+
data.tar.gz: 5de1a37b1129f91df0aa255dadd5f7898792e6bf51d1824062ce0844f473c960d11d8e3fac0e18ecce00246f0d8830b6133b192400f3487727fdc19e5887847e
|
data/lib/epi_js/version.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
(($) ->
|
2
2
|
$.flashAlert = (message, type, timeout = 6000) ->
|
3
|
-
$
|
3
|
+
$dismissLink = $('<a href="#" title="Hid this message" data-dismiss="alert"></a>').html('Dismiss')
|
4
|
+
$alert = $('<div>').addClass("alert fade in #{type}").append(message).append($dismissLink)
|
4
5
|
if $('.flash-messages .alert').size() > 2
|
5
6
|
clearTimeout $('.flash-messages .alert:last').remove().data('timeout')
|
6
7
|
$('.flash-messages').prepend($alert)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epi_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shuo Chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.4.6
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: jQuery scripts used in various projects
|