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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0241fca73542f5f5867edc588778dbcb10ad3f28
4
- data.tar.gz: 842d1ca2ac98a5c6a45336d1f35816d6017d090a
3
+ metadata.gz: 0f5170fedbb8513e3621aa2bd56e4b2de9f65943
4
+ data.tar.gz: 95a99b8927552565bc6f3df3edb9f42856a58178
5
5
  SHA512:
6
- metadata.gz: e7a183c756bba1a1ac215348813f707b15e748cf94d8476fd214540dec9fdeefd89e98b8619f866845f1b22dd2368223d0bd1620cf32d758e843d06090f287cd
7
- data.tar.gz: 4f03baf7dc8dbc0e08f5aa6e65273df20d0122160101901e7c34694913c482517b5599fae11ab9cbdb5f55e76646bdc09df89e3a28ba0ef02e670564a01e9463
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.15.0](https://github.com/yabwe/medium-editor/releases)
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
 
@@ -1,6 +1,6 @@
1
1
  module MediumEditorRails
2
2
  module Rails
3
- VERSION = '2.3.0'
3
+ VERSION = '2.3.1'
4
4
  MEDIUM_EDITOR_VERSION = '5.22.0'
5
5
  end
6
6
  end
@@ -780,7 +780,7 @@ MediumEditor.extensions = {};
780
780
  timeout = null,
781
781
  previous = 0,
782
782
  later = function () {
783
- previous = Date.now();
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.now(),
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.now(),
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.0
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-08 00:00:00.000000000 Z
12
+ date: 2016-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties