md_simple_editor 0.1.10 → 0.2.0

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: e9094484482b3f23adc15fbcec0d8d265bc39c92
4
- data.tar.gz: 31d58f543c1a4c406426ac857de6f2cd65bfdcdf
3
+ metadata.gz: aba821871c9814fdb48a93f98124e33753ebf782
4
+ data.tar.gz: 3db93c499822f85d1ddf9a28e90a61f7895a5d0c
5
5
  SHA512:
6
- metadata.gz: 20ec34436f325a4007292f6b516157bc4cb1ea2bae5a1542fb599a1ce4deb330a3888c2fc6e44b34282d2462f6adff2ea235c76e542b7d5c22065c421e668fcd
7
- data.tar.gz: f8b2934a870ea67ea51ecfb72260c88011f2b10bea2fdd1d520e1ff978ded825fbcd8da0c696dce28cf6362729181aef2437faa7ff376231e79a877854fbc86d
6
+ metadata.gz: c9235d4cb2f74ff87d5cd1c01353f7c710e0ffa8f49f51e145d0858a722c9a80db7092be30bee4512b0be2417d87b516749f7cbe0474d038da8cc9a060617bac
7
+ data.tar.gz: 66ac63c36496518dd8220f803ea830e956cb1e14d925199d838c19600a708cffc79a16a812fa9ce182d7d62e68f50986da92e4cb9d0ba5ac248a399541c37584
@@ -92,17 +92,7 @@ insertAtCaret = (areaId, text) ->
92
92
  txtarea.focus()
93
93
  txtarea.scrollTop = scrollPos
94
94
 
95
-
96
- $ ->
95
+ $(document).on 'turbolinks:load page:load ready', ->
97
96
  md_simple_editor()
98
97
  $('.preview_md').click ->
99
98
  preview()
100
-
101
-
102
- $(document).on 'page:load', ->
103
- md_simple_editor()
104
- $('.preview_md').click ->
105
- preview()
106
-
107
-
108
-
@@ -1,4 +1,3 @@
1
1
  module MdSimpleEditor
2
- VERSION = "0.1.10"
2
+ VERSION = "0.2.0"
3
3
  end
4
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md_simple_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Espinosa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-27 00:00:00.000000000 Z
11
+ date: 2016-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.2.2
120
+ rubygems_version: 2.6.6
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Simple editor for markdown and rails