wysihtml5x-rails 0.4.6 → 0.4.7

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: 0e9b69b5c919068f7b13f31518e2d94ad243e2c6
4
- data.tar.gz: daa18493aca70d98cce1908d21b3a5f423e5aceb
3
+ metadata.gz: 3a12414b5d36b030086f48ec7891f4397688662e
4
+ data.tar.gz: 31352a0fe2238d9cef58f37f67af683fa5e447f4
5
5
  SHA512:
6
- metadata.gz: 785854013b0d44cbce92021376b6f0e87dd6b09bce62b63d39338eec816b2695ec55f397f319953dc08c935adb26e637e3b7a0e22780d241330d52cdd0fb726b
7
- data.tar.gz: f7dee483d6aa30c6802aebbf25a448964be6979e0886cb5d1a7b7f9437e4cb1697aec655a320abec4ec106e9ffbd5b517d4fd21e2373f022128ea120dc895bea
6
+ metadata.gz: 17481031fdc141d56f49809df1defbbe3e81433fc4a39e677bc27f84578ff65b54ef04fe6e9e66558decf905e0ff7f4acbfca5c64644e7a32a8a6988b6d62c70
7
+ data.tar.gz: 82211ed2a2f44313f77ebd0ec34b29772630aaf336abb0f01c890467250d6c4588ba87bae797e59d682cceb8110c2cf2e62b7120993f3c429107443ec4632a3a
@@ -1,5 +1,5 @@
1
1
  module Wysihtml5x
2
2
  module Rails
3
- VERSION = "0.4.6"
3
+ VERSION = "0.4.7"
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ if(!Array.isArray) {
25
25
  return Object.prototype.toString.call(arg) === '[object Array]';
26
26
  };
27
27
  };/**
28
- * @license wysihtml5x v0.4.6
28
+ * @license wysihtml5x v0.4.7
29
29
  * https://github.com/Edicy/wysihtml5
30
30
  *
31
31
  * Author: Christopher Blum (https://github.com/tiff)
@@ -36,7 +36,7 @@ if(!Array.isArray) {
36
36
  *
37
37
  */
38
38
  var wysihtml5 = {
39
- version: "0.4.6",
39
+ version: "0.4.7",
40
40
 
41
41
  // namespaces
42
42
  commands: {},
@@ -8598,7 +8598,7 @@ wysihtml5.quirks.ensureProperClearing = (function() {
8598
8598
  node = selection.anchorNode,
8599
8599
  offset = selection.anchorOffset;
8600
8600
  if (ofNode) {
8601
- return (offset === 0 && (node.nodeName && node.nodeName === ofNode.toUpperCase() || wysihtml5.dom.getParentElement(node.parentNode, ofNode, 1)));
8601
+ return (offset === 0 && (node.nodeName && node.nodeName === ofNode.toUpperCase() || wysihtml5.dom.getParentElement(node.parentNode, { nodeName: ofNode }, 1)));
8602
8602
  } else {
8603
8603
  return (offset === 0 && !this.getPreviousNode(node, true));
8604
8604
  }
@@ -25,7 +25,7 @@ if(!Array.isArray) {
25
25
  return Object.prototype.toString.call(arg) === '[object Array]';
26
26
  };
27
27
  };/**
28
- * @license wysihtml5x v0.4.6
28
+ * @license wysihtml5x v0.4.7
29
29
  * https://github.com/Edicy/wysihtml5
30
30
  *
31
31
  * Author: Christopher Blum (https://github.com/tiff)
@@ -36,7 +36,7 @@ if(!Array.isArray) {
36
36
  *
37
37
  */
38
38
  var wysihtml5 = {
39
- version: "0.4.6",
39
+ version: "0.4.7",
40
40
 
41
41
  // namespaces
42
42
  commands: {},
@@ -8598,7 +8598,7 @@ wysihtml5.quirks.ensureProperClearing = (function() {
8598
8598
  node = selection.anchorNode,
8599
8599
  offset = selection.anchorOffset;
8600
8600
  if (ofNode) {
8601
- return (offset === 0 && (node.nodeName && node.nodeName === ofNode.toUpperCase() || wysihtml5.dom.getParentElement(node.parentNode, ofNode, 1)));
8601
+ return (offset === 0 && (node.nodeName && node.nodeName === ofNode.toUpperCase() || wysihtml5.dom.getParentElement(node.parentNode, { nodeName: ofNode }, 1)));
8602
8602
  } else {
8603
8603
  return (offset === 0 && !this.getPreviousNode(node, true));
8604
8604
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wysihtml5x-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanel Jakobsoo