(container)
| 205 | } |
| 206 | |
| 207 | function getQuery(container) { |
| 208 | var query; |
| 209 | if (document.querySelectorAll) query = (container) ? container.querySelectorAll.bind(container) : document.querySelectorAll.bind(document); |
| 210 | if (!query && 'undefined' !== typeof $$) query = $$; |
| 211 | if (!query && 'undefined' !== typeof jQuery) query = jQuery; |
| 212 | |
| 213 | if (!query) { |
| 214 | throw 'No document.querySelectorAll, jQuery or Mootools\'s $$ found.'; |
| 215 | } |
| 216 | |
| 217 | return query; |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * If animationStart didn't catch a new element in the DOM, we can manually search for it |
no outgoing calls
no test coverage detected