medium-editor-rails 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/medium-editor-rails/version.rb +1 -1
- data/vendor/assets/javascripts/medium-editor.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f5170fedbb8513e3621aa2bd56e4b2de9f65943
|
4
|
+
data.tar.gz: 95a99b8927552565bc6f3df3edb9f42856a58178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3db5c5c294bc980a65a95ca600ea5ebb2699d9883ac7787fd0e4e83bd92ee13a64df45b8801ad8328a57423812138bf725e5cc934b3e5c568ac7a28f8658cb6
|
7
|
+
data.tar.gz: 1c79610e55fb2eee7403912309938477fa31f0d374f4cb04a571f8a9c101efb5b2aaf4372bdba5ee7125ab004858ebb2ebfebf56cf18ee76f16392c9cece83fe
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ This gem integrates [Medium Editor](https://github.com/yabwe/medium-editor) with
|
|
8
8
|
|
9
9
|
## Version
|
10
10
|
|
11
|
-
The latest version of Medium Editor bundled by this gem is [5.
|
11
|
+
The latest version of Medium Editor bundled by this gem is [5.22.0](https://github.com/yabwe/medium-editor/releases)
|
12
12
|
|
13
13
|
## Installation
|
14
14
|
|
@@ -780,7 +780,7 @@ MediumEditor.extensions = {};
|
|
780
780
|
timeout = null,
|
781
781
|
previous = 0,
|
782
782
|
later = function () {
|
783
|
-
previous = Date.
|
783
|
+
previous = new Date().getTime();
|
784
784
|
timeout = null;
|
785
785
|
result = func.apply(context, args);
|
786
786
|
if (!timeout) {
|
@@ -793,7 +793,7 @@ MediumEditor.extensions = {};
|
|
793
793
|
}
|
794
794
|
|
795
795
|
return function () {
|
796
|
-
var now = Date.
|
796
|
+
var now = new Date().getTime(),
|
797
797
|
remaining = wait - (now - previous);
|
798
798
|
|
799
799
|
context = this;
|
@@ -6839,7 +6839,7 @@ MediumEditor.extensions = {};
|
|
6839
6839
|
|
6840
6840
|
function createContentEditable(textarea) {
|
6841
6841
|
var div = this.options.ownerDocument.createElement('div'),
|
6842
|
-
now = Date.
|
6842
|
+
now = new Date().getTime(),
|
6843
6843
|
uniqueId = 'medium-editor-' + now,
|
6844
6844
|
atts = textarea.attributes;
|
6845
6845
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: medium-editor-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmet Sezgin Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-09-
|
12
|
+
date: 2016-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|