pagedown-rails 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b3cb60c629602193ace07a5bd76467dd3d1fc34
4
- data.tar.gz: 4a638f41275592c27ceda75c521f87f815ec9587
3
+ metadata.gz: 022c7ee521000c685c02c323c9fb44a6bd875b65
4
+ data.tar.gz: 26df35a3e204a1ffce52d8b12b3304e3ca5276a7
5
5
  SHA512:
6
- metadata.gz: 2379e9fd8303f70d2bf36ac3e980e5619a7609ca6ee71063a55cc1e489dd60e9e1f1d4b9a7b52d092414bc1f14a209d9abf720cf857c3dca51a4bfdc13bf538a
7
- data.tar.gz: e42154bae5d6475beab025886bea68b14aba4eef54e351dfe08d56268f20f6a14d26794f583491adbf6085c5b338b84710dd4f3a0f6c620e8e5012d7d527d511
6
+ metadata.gz: b608d6ba183f510e6bd08adcfcc6c6a6a2868e5a67cf8ce35f471f7415a495e152df3aa19057da3d482f760db78ff3afc46acd43c7e08a20d9ef9837bbbd2d93
7
+ data.tar.gz: c855cb813afdd0029b84088b5c9d4fbc0eed6362a99a1884ca18dfd3c7fee94f210a64d271b94e30ee563692c89a2bfdc19c61a0a89d0f83bf22616fa6059e21
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Add this line to the assets group in your Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'pagedown-rails', '~> 1.1.2'
10
+ gem 'pagedown-rails', '~> 1.1.3'
11
11
  ```
12
12
 
13
13
  Add the necessary libraries to `app/assets/javascripts/application.js`:
@@ -1,5 +1,5 @@
1
1
  module PageDown
2
2
  module Rails
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
@@ -300,7 +300,8 @@
300
300
  function PanelCollection(postfix) {
301
301
  this.buttonBar = doc.getElementById("wmd-button-bar" + postfix);
302
302
  this.preview = doc.getElementById("wmd-preview" + postfix);
303
- this.input = doc.getElementById("wmd-input" + postfix);
303
+ // this.input = doc.getElementById("wmd-input" + postfix);
304
+ this.input = doc.getElementsByClassName("wmd-input" + postfix)[0];
304
305
  };
305
306
 
306
307
  // Returns true if the DOM element is visible, false if it's hidden.
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagedown-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Hubers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-21 00:00:00.000000000 Z
11
+ date: 2013-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - '>'
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - '>'
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.1'
27
27
  description: PageDown for the Rails asset pipeline