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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b4cc51269e19dd1836013054526cf55ef8c7598
4
- data.tar.gz: c3528485ee1c4aaff1b68ab84aa11855cd391440
3
+ metadata.gz: b68802251feb225289d312519f89e24b9d9db46c
4
+ data.tar.gz: e102169528ac5e0d389a531ad9792a8f3d67e914
5
5
  SHA512:
6
- metadata.gz: fe32e6ed2c33966e478c41a3a6e30594a9161356cf0646148981e52d22d27c93ad52a7b07f2324f2ac5ee43ec181ef748ef8b9af11dc186876d289e159f57e13
7
- data.tar.gz: 24db02c4cb965d3656f2c7c81d449de2dfacfd37d8d22490b28f33a4c20f8af67d8da5df9e8df69f298a9e0f727f106f8923c7460544ea9da55367854cd83b12
6
+ metadata.gz: 2e839808976a8a020a4203a611ee9a71a7da1851cd8315d1de51c4e98924fc8ff9ad8cad07c9e90597bc09496e3f5a867fd943933f685c77a7af60aeb90215f8
7
+ data.tar.gz: 5de1a37b1129f91df0aa255dadd5f7898792e6bf51d1824062ce0844f473c960d11d8e3fac0e18ecce00246f0d8830b6133b192400f3487727fdc19e5887847e
@@ -1,3 +1,3 @@
1
1
  module EpiJs
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
@@ -1,6 +1,7 @@
1
1
  (($) ->
2
2
  $.flashAlert = (message, type, timeout = 6000) ->
3
- $alert = $('<div>').addClass("alert fade in #{type}").append($('<a>').attr('data-dismiss', 'alert').addClass('close').html('&times;')).append(message)
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.15
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: 2014-08-28 00:00:00.000000000 Z
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.2.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