wysihtml5x-rails 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a12414b5d36b030086f48ec7891f4397688662e
|
4
|
+
data.tar.gz: 31352a0fe2238d9cef58f37f67af683fa5e447f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17481031fdc141d56f49809df1defbbe3e81433fc4a39e677bc27f84578ff65b54ef04fe6e9e66558decf905e0ff7f4acbfca5c64644e7a32a8a6988b6d62c70
|
7
|
+
data.tar.gz: 82211ed2a2f44313f77ebd0ec34b29772630aaf336abb0f01c890467250d6c4588ba87bae797e59d682cceb8110c2cf2e62b7120993f3c429107443ec4632a3a
|
@@ -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.
|
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.
|
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.
|
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.
|
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
|
}
|