diff options
| author | Caitlin Potter | 2014-01-07 20:27:45 -0500 |
|---|---|---|
| committer | Caitlin Potter | 2014-02-21 17:59:01 -0500 |
| commit | 75515852ea9742d3d84a0f463c2a2c61ef2b7323 (patch) | |
| tree | c1a778f6a950ea8a658142ea6c5ce573bf51e6a8 /src/Angular.js | |
| parent | 5fe1f39f027c6f2c6a530975dd5389d788d3c0eb (diff) | |
| download | angular.js-75515852ea9742d3d84a0f463c2a2c61ef2b7323.tar.bz2 | |
fix(isElement): reduce false-positives in isElement tests
Complimentary change to match changed $parse behaviour.
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js index b2905ed9..f1ed847f 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -601,7 +601,7 @@ var trim = (function() { function isElement(node) { return !!(node && (node.nodeName // we are a direct element - || (node.on && node.find))); // we have an on and find method part of jQuery API + || (node.prop && node.attr && node.find))); // we have an on and find method part of jQuery API } /** |
