diff --git a/LICENSE b/LICENSE index 44bf0c9fb..9a14057f0 100644 --- a/LICENSE +++ b/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 diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 7eb12b41c..3c41e4a81 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -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) { diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index b1e01468c..62efede23 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -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) { diff --git a/builds/crx/script.js b/builds/crx/script.js index 9ba7bd910..171a9e174 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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) { diff --git a/src/General/lib/$.coffee b/src/General/lib/$.coffee index 19fef9019..3c90f73e0 100644 --- a/src/General/lib/$.coffee +++ b/src/General/lib/$.coffee @@ -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