diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 7c16828d..312b1e42 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -37,6 +37,10 @@ MockLocation.prototype.set = function(url){ this.url = url; }; +function childNode(element, index) { + return jqLite(element[0].childNodes[index]); +} + function sortedHtml(element) { var html = ""; (function toString(node) { |
