hallo_rails 0.2.7 → 0.2.8

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.
@@ -1,3 +1,3 @@
1
1
  module HalloRails
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
@@ -12,7 +12,6 @@ default_plugins =
12
12
  'hallo-image-insert-edit': {}
13
13
 
14
14
  init = ->
15
- context = this
16
15
  attach_editors()
17
16
 
18
17
  $('body').on "hallodeactivated", '.editable', ->
@@ -50,6 +49,7 @@ init = ->
50
49
  $hidden_textarea.html $el.html()
51
50
 
52
51
  attach_editors = ->
52
+ context = this
53
53
  $('.editable, .form_editable').each ->
54
54
  $el = $(this)
55
55
  plugins = $el.data('editable-plugins') || context.default_plugins
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hallo_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  segments:
62
62
  - 0
63
- hash: -1500811662989728125
63
+ hash: -3889564218389117262
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  segments:
71
71
  - 0
72
- hash: -1500811662989728125
72
+ hash: -3889564218389117262
73
73
  requirements: []
74
74
  rubyforge_project:
75
75
  rubygems_version: 1.8.25