corn_js 0.1.1 → 0.1.2
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.
- data/app/assets/javascripts/corn_js/corn.js +1 -2
- data/lib/corn_js/version.rb +1 -1
- metadata +7 -7
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
$('.fatpopcorn .stream .content').html(data);
|
|
378
378
|
$('.fatpopcorn .stream .attachment span.delete').click(FatPopcorn.deleteAttachment);
|
|
379
379
|
$('.fatpopcorn .stream .note span.delete').click(FatPopcorn.deleteNote);
|
|
380
|
-
$('.fatpopcorn .stream
|
|
380
|
+
$('.fatpopcorn .stream span.star').click(FatPopcorn.starUnstar);
|
|
381
381
|
};
|
|
382
382
|
FatPopcorn.deleteAttachment = function(e) {
|
|
383
383
|
FatPopcorn.deleteStream(e, $('.fatpopcorn .edit').attr('data-attach-url'));
|
|
@@ -396,7 +396,6 @@
|
|
|
396
396
|
};
|
|
397
397
|
FatPopcorn.starUnstar = function(e, urlPrefix) {
|
|
398
398
|
var url = $(e.target).attr('data-url');
|
|
399
|
-
console.log(url);
|
|
400
399
|
$.post(url, {_method: 'put'}).
|
|
401
400
|
success('success.rails', function(data){
|
|
402
401
|
FatPopcorn.getStreamSuccess(data.streamBody)
|
data/lib/corn_js/version.rb
CHANGED
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.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-03-23 00:00:00.000000000Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70306350407900 !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: *
|
|
24
|
+
version_requirements: *70306350407900
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: jquery-rails
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &70306350406540 !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: *
|
|
35
|
+
version_requirements: *70306350406540
|
|
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:
|
|
72
|
+
hash: -4031882629307854454
|
|
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:
|
|
81
|
+
hash: -4031882629307854454
|
|
82
82
|
requirements: []
|
|
83
83
|
rubyforge_project:
|
|
84
84
|
rubygems_version: 1.8.10
|