dfm_web 2.0.8 → 2.0.9

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: b5cddf8fb3aab25c84c54137a8ca6604e9c6d082
4
- data.tar.gz: 520b2b5bc0e77e2312e497ff32739882545d26f8
3
+ metadata.gz: c32244f4d3d34b01116ad9b6aa3e11d429c154db
4
+ data.tar.gz: 8caac3f95574fc665f51d1090be58122793ac247
5
5
  SHA512:
6
- metadata.gz: 78a009a9c7bac67a13c38a583ad614eddfa9c5a78dec7709a08cca7fe5efde62aac3e37289d59192cdb8b76a4b3efa9e3878ae8e109aebc426f8687880679599
7
- data.tar.gz: d582be1b54d7cb11f12c790cc455440c344120c8c5e06064ce88521fa8834147975b7093ff861c45b6435fee7d3f2ee0a279994a95611f456d190a0c2812d20b
6
+ metadata.gz: 99b94bbc07236518e25755b7c7353a107c1298bf27234d15ae4096f22cdf9c968b32bb571a8f4eda086b5a802c54c683b29f438665fcab9fb5e5bfbcafb4a5c0
7
+ data.tar.gz: 4157f67d26832ea530e0be93a5282ed3eef18e64235a1bbdb93ae9b2bf26aed9fda24b3e07ba6e974658e9265671d7d0ed66926c1221e33c41ba9db0077e6d5b
@@ -30,10 +30,15 @@ DfmWeb.activate_dfm_web = ->
30
30
  $('.tablesorter').tablesorter({widgets: ['zebra']})
31
31
 
32
32
  # Hide the #notice and #alert messages by clicking the [X] or pressing escape key
33
+ # stop(true) removes any pending animations.
34
+ # This allows you to have an autohide in your app without breaking the click / ESC action.
35
+ # Example: $('#notice').delay(5000).slideUp('slow')
33
36
  $('#notice, #alert').click ->
37
+ $(this).stop(true)
34
38
  $(this).slideUp('slow')
35
39
  $(document).keyup (e) ->
36
40
  if e.keyCode == 27
41
+ $('#notice, #alert').stop(true)
37
42
  $('#notice, #alert').slideUp('slow')
38
43
 
39
44
  # Load anything you want with ajax easily.
@@ -1,10 +1,11 @@
1
1
  module DfmWeb
2
- VERSION = "2.0.8"
2
+ VERSION = "2.0.9"
3
3
  end
4
4
 
5
5
 
6
6
  # Version History
7
7
 
8
+ # 2.0.9 Added a animation clear on the notice/alert close javascript. This allows you to add new actions in your app.
8
9
  # 2.0.8 Refreshed Print styles. Hides Nav, Footer and removes empty space around major elements.
9
10
  # 2.0.7 Added table to kitchen sink. Tablesorter is now a added to the dummy app.
10
11
  # 2.0.6 Robust ajax_load method imported. Will not render errors / huge responses.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dfm_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Duffy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-27 00:00:00.000000000 Z
11
+ date: 2018-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -2747,7 +2747,6 @@ files:
2747
2747
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/zn/znanh-NY0vge2YX8qAYMWH_rvMJsVVHZPoRDHDhNNOM.cache
2748
2748
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/zt/ZTwD6qTv4XPqSCVVZME2W6szswNQR5V3TrFbXFoB_jg.cache
2749
2749
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/zt/zth9eVd6bhQHId4am3mmZzA5oUe0lDfJ0poh1YK2yK8.cache
2750
- - spec/dummy/tmp/pids/server.pid
2751
2750
  - spec/helpers/dfm_web_helper_spec.rb
2752
2751
  - spec/spec_helper.rb
2753
2752
  homepage: https://github.com/DFMCH/dfm_web
@@ -2827,7 +2826,6 @@ test_files:
2827
2826
  - spec/dummy/db/development.sqlite3
2828
2827
  - spec/dummy/log/test.log
2829
2828
  - spec/dummy/log/development.log
2830
- - spec/dummy/tmp/pids/server.pid
2831
2829
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/3K/3KZq2T0vE5QQSqsfx-luRdNwqAJ23trVuBr5nUYnL5A.cache
2832
2830
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/3K/3KKPXV9cP7JenQ4n_iDAoIMdscSTRUOsPOk_PWz6rqI.cache
2833
2831
  - spec/dummy/tmp/cache/assets/sprockets/v3.0/5r/5r-T2HSgcJCIDG9x6BpZshJdjQ0Pgd6Xq7KJt1L2HjU.cache
@@ -1 +0,0 @@
1
- 21403