aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
authorMisko Hevery2010-03-30 14:55:04 -0700
committerMisko Hevery2010-03-30 14:55:04 -0700
commita7d62dcb5533ceb9a7ae47ee27e2054400a0196b (patch)
tree4c3702dbf899a8c669b833157b86a883c55d77ba /test/testabilityPatch.js
parentd2d356918bd1c0c76673d22ff85c617fbd85d40e (diff)
downloadangular.js-a7d62dcb5533ceb9a7ae47ee27e2054400a0196b.tar.bz2
more tests fixed
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js4
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) {