XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE === 6
This commit is contained in:
parent
15fde83135
commit
d657c958c1
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.1.9 - 2013-05-02
|
||||
* 4chan X - Version 1.1.9 - 2013-05-03
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
|
||||
// ==/UserScript==
|
||||
/*
|
||||
* 4chan X - Version 1.1.9 - 2013-05-02
|
||||
* 4chan X - Version 1.1.9 - 2013-05-03
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
@ -529,7 +529,7 @@
|
||||
|
||||
$.X = function(path, root) {
|
||||
root || (root = d.body);
|
||||
return d.evaluate(path, root, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
|
||||
return d.evaluate(path, root, null, 6, null);
|
||||
};
|
||||
|
||||
$.addClass = function(el, className) {
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAHFJREFUKFOt0LENACEIBdBv4Qju4wgWanEj3D6OcIVMKaitYHEU/jwTCQj8W75kiVCSBvdQ5/AvfVHBin11BgdRq3ysBgfwBDRrj3MCIA+oAQaku/Q1cNctrAmyDl577tOThYt/Y1RBM4DgOHzM0HFTAyLukH/cmRnqAAAAAElFTkSuQmCC
|
||||
// ==/UserScript==
|
||||
/*
|
||||
* 4chan X - Version 1.1.9 - 2013-05-02
|
||||
* 4chan X - Version 1.1.9 - 2013-05-03
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
@ -526,7 +526,7 @@
|
||||
|
||||
$.X = function(path, root) {
|
||||
root || (root = d.body);
|
||||
return d.evaluate(path, root, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
|
||||
return d.evaluate(path, root, null, 6, null);
|
||||
};
|
||||
|
||||
$.addClass = function(el, className) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.1.9 - 2013-05-02
|
||||
* 4chan X - Version 1.1.9 - 2013-05-03
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
@ -507,7 +507,7 @@
|
||||
|
||||
$.X = function(path, root) {
|
||||
root || (root = d.body);
|
||||
return d.evaluate(path, root, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
|
||||
return d.evaluate(path, root, null, 6, null);
|
||||
};
|
||||
|
||||
$.addClass = function(el, className) {
|
||||
|
||||
@ -133,7 +133,8 @@ $.x = (path, root) ->
|
||||
|
||||
$.X = (path, root) ->
|
||||
root or= d.body
|
||||
d.evaluate path, root, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null
|
||||
# XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE === 6
|
||||
d.evaluate path, root, null, 6, null
|
||||
|
||||
$.addClass = (el, className) ->
|
||||
el.classList.add className
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user