diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index dbb80f60..278631f1 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -106,7 +106,7 @@ function dealoc(obj) { } function cleanup(element) { - element.unbind().removeData(); + element.off().removeData(); for ( var i = 0, children = element.contents() || []; i < children.length; i++) { cleanup(angular.element(children[i])); } |
