corn_js 0.0.8 → 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,9 @@
9
9
  throw "inferPositionType must be called after decorateContainerWithHtml";
10
10
  }
11
11
  this.containerOf().hide().addClass('popcorn');
12
- this.containerOf().contents().wrap("<div class='popcorn-body'/>");
12
+ if(!this.containerOf().find('.popcorn-body').length){
13
+ this.containerOf().contents().wrap("<div class='popcorn-body'/>");
14
+ }
13
15
  this.containerOf().append("<div class='popcorn-tail'></div>");
14
16
  };
15
17
 
@@ -1,3 +1,3 @@
1
1
  module CornJs
2
- VERSION = "0.0.8"
2
+ VERSION = "0.1"
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.8
4
+ version: '0.1'
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-03-13 00:00:00.000000000Z
12
+ date: 2012-03-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2166247620 !ruby/object:Gem::Requirement
16
+ requirement: &70350327879880 !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: *2166247620
24
+ version_requirements: *70350327879880
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &2166247200 !ruby/object:Gem::Requirement
27
+ requirement: &70350327879400 !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: *2166247200
35
+ version_requirements: *70350327879400
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: 1143653951582611760
72
+ hash: -3006153574169236212
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: 1143653951582611760
81
+ hash: -3006153574169236212
82
82
  requirements: []
83
83
  rubyforge_project:
84
84
  rubygems_version: 1.8.10