md_simple_editor 0.2.3 → 0.2.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d37cf8d7bdc06a6065f8cba7cf86b27a932461ed
|
4
|
+
data.tar.gz: 1e985a2aa5403a43e519b3fb40dbf85771e8e51e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29d63ea2a90748c24457485b39f1d487162fdc773f5dab0336ce220c940c4c76ba080ce67279520ea49ff493aa44e3edaedcb8bcdbb66f06aab7599fda6ab75b
|
7
|
+
data.tar.gz: df638aa911cecb396a5c5932bb6b7697b9297f1b2178a8afc5bd21480547993133402c4e0023c592d550a233fb72605580bce3bbc070e535be675e6179ac4106
|
@@ -95,8 +95,10 @@ insertAtCaret = (areaId, text) ->
|
|
95
95
|
txtarea.focus()
|
96
96
|
txtarea.scrollTop = scrollPos
|
97
97
|
|
98
|
-
|
98
|
+
initializeEditor = ->
|
99
99
|
md_simple_editor()
|
100
|
-
$(document).off 'turbolinks:load page:load ready'
|
100
|
+
$(document).off 'turbolinks:load page:load ready', initializeEditor
|
101
101
|
$('.preview_md').click ->
|
102
102
|
preview()
|
103
|
+
|
104
|
+
$(document).on 'turbolinks:load page:load ready', initializeEditor
|
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.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruben Espinosa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-26 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.6.
|
120
|
+
rubygems_version: 2.6.10
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Simple editor for markdown and rails
|