edit_mode 0.0.8 → 0.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: 2ef772b53060ed9462710632dc8b81f33d663826
4
- data.tar.gz: 2100c2413828a1d7409b991b2868194660f7f7b2
3
+ metadata.gz: fdbdd5494cba8ac60e9ad179dcfe022f2f6305d2
4
+ data.tar.gz: 722ab2362e8cf8ddf885aaee72c44784d44c7bc5
5
5
  SHA512:
6
- metadata.gz: d5e38434f308510ecb6e06daa0925dc809f3b0d3dc92c5821f7318f7031956b1c265899ca17d6f694bafabcfdad954d5f53e2e74a6d5a40860bdc216910310e3
7
- data.tar.gz: d7d0a75c01f7e58af5a76c071e5fde07c64b38bef3ed8f6e3e57ccf46efebfcee9a8d2ec4bff90c9b260e1ee1c98afaaeb8ed5ce6ce608dd5e4aacdfaf1a3ce9
6
+ metadata.gz: a75ab16d8ef645d0be48f8e2e1d1dc18bf3fa709dc954bb331de257734ffa650e4a110a768b8893a54b00ff3453f7fc9a713835e7389568e5f2247702016b45c
7
+ data.tar.gz: e2a84da960d737cf87685771797453b40e67476fc39c53e9232fbc9c0876152af63df6f5a6b597963f18964625baab380e1d28fbe149ca143d1d4ff693073749
@@ -6,23 +6,23 @@ ready = ->
6
6
  # If the user clicks on the shaded (grey) area outside, the edit_mode_group is saved.
7
7
 
8
8
  $( ".edit_mode_group" ).bind( "edit", ->
9
- unless $( this ).hasClass( "modal" )
9
+ unless $( this ).hasClass( "edit-mode-modal" )
10
10
  modal_edit_mode_group = $( this )
11
- $( this ).addClass( "modal" )
12
- $( "body" ).append( "<div class='modal_bg'></div>" )
13
- $( "div.modal_bg" ).hide().fadeIn().click( ->
11
+ $( this ).addClass( "edit-mode-modal" )
12
+ $( "body" ).append( "<div class='edit-mode-modal-bg'></div>" )
13
+ $( "div.edit-mode-modal-bg" ).hide().fadeIn().click( ->
14
14
  modal_edit_mode_group.trigger( "save" )
15
15
  )
16
16
  )
17
17
 
18
18
  $( ".edit_mode_group" ).bind( "save cancel", ->
19
- if $( this ).hasClass( "modal" )
19
+ if $( this ).hasClass( "edit-mode-modal" )
20
20
  unless $( this ).hasClass( "animating" )
21
21
  $( this ).addClass( "animating" )
22
22
  setTimeout( ->
23
- $( "div.modal_bg" ).fadeOut( ->
23
+ $( "div.edit-mode-modal-bg" ).fadeOut( ->
24
24
  $( this ).remove()
25
- $( ".modal" ).removeClass( "modal animating" )
25
+ $( ".edit-mode-modal" ).removeClass( "edit-mode-modal animating" )
26
26
  )
27
27
  , 300 )
28
28
  )
@@ -1,8 +1,8 @@
1
- .modal
1
+ .edit-mode-modal
2
2
  position: relative
3
3
  z-index: 3005
4
4
 
5
- .modal_bg
5
+ .edit-mode-modal-bg
6
6
  top: 0px
7
7
  left: 0px
8
8
  position: fixed
@@ -1,3 +1,3 @@
1
1
  module EditMode
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edit_mode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Fiedlschuster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-08 00:00:00.000000000 Z
11
+ date: 2013-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -228,3 +228,4 @@ test_files:
228
228
  - spec/integration/buttons_spec.rb
229
229
  - spec/integration/show_only_in_edit_mode_spec.rb
230
230
  - spec/spec_helper.rb
231
+ has_rdoc: