corn_js 0.0.5 → 0.0.6

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.
@@ -308,17 +308,17 @@
308
308
 
309
309
  $.post(url, data, {dataType: 'script'}).done(FatPopcorn.watchingServiceSuccess).error(FatPopcorn.watchingServiceFail);
310
310
  };
311
- $('.fatpopcorn').on('click', function(e) {
311
+ $('.fatpopcorn').unbind('click').click(function(e) {
312
312
  e.stopPropagation();
313
313
  });
314
- $('.fatpopcorn #watchlist_true').click(function() {
314
+ $('.fatpopcorn #watchlist_true').unbind('click').click(function() {
315
315
  _startWatching()
316
316
  });
317
- $('.fatpopcorn #watchlist_false').click(function() {
317
+ $('.fatpopcorn #watchlist_false').unbind('click').click(function() {
318
318
  _stopWatching();
319
319
  });
320
320
 
321
- $('#send_note').click(function() {
321
+ $('#send_note').unbind('click').click(function() {
322
322
  if ($('#note_text').val() == '') return false;
323
323
 
324
324
  $.post($('form#notes_form').attr('action'), $('form#notes_form').serialize())
@@ -477,7 +477,7 @@
477
477
  $.extend(delfaults, options);
478
478
  }
479
479
 
480
- $(window).click(function() { Popcorn.hideAllContainers(elements); });
480
+ $(window).unbind('click').click(function() { Popcorn.hideAllContainers(elements); });
481
481
 
482
482
  function _setUpElement(){
483
483
  var $element = $(this), popcorn = new Popcorn($element, defaults);
@@ -1,3 +1,3 @@
1
1
  module CornJs
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-24 00:00:00.000000000Z
12
+ date: 2012-03-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2166204740 !ruby/object:Gem::Requirement
16
+ requirement: &2165182020 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2166204740
24
+ version_requirements: *2165182020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &2166204320 !ruby/object:Gem::Requirement
27
+ requirement: &2165181340 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2166204320
35
+ version_requirements: *2165181340
36
36
  description: It's possible to use the generic popcorn and the app specific fat popcorn
37
37
  plugin
38
38
  email:
@@ -69,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  segments:
71
71
  - 0
72
- hash: -3416024969603645718
72
+ hash: -2675813646459342181
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: -3416024969603645718
81
+ hash: -2675813646459342181
82
82
  requirements: []
83
83
  rubyforge_project:
84
84
  rubygems_version: 1.8.10