texter 0.1.0 → 0.2.0

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,5 +1,5 @@
1
1
  $(function(){
2
- $('.js-edit').live('click', function(){
2
+ $('body').on('click', '.js-edit', function(){
3
3
  EditText($(this));
4
4
  });
5
5
 
@@ -20,13 +20,13 @@ $(function(){
20
20
  }
21
21
  });
22
22
 
23
- popup.find('.close').on('click', function(){
23
+ popup.on('click', '.close', function(){
24
24
  removePopup();
25
25
  });
26
26
 
27
27
  $.get(elem.data('url'), function(){
28
28
  popup.fadeIn('fast', function(){
29
- popup.find('textarea').filter(':first').focus();
29
+ popup.find('textarea:first').focus();
30
30
  });
31
31
  });
32
32
  }
@@ -1,3 +1,3 @@
1
1
  module Texter
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-03 00:00:00.000000000 Z
12
+ date: 2013-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -235,3 +235,4 @@ signing_key:
235
235
  specification_version: 3
236
236
  summary: Rails-engine для редактирования блоков текста, с поддержкой I18n
237
237
  test_files: []
238
+ has_rdoc: