* The ready event handler and self cleanup method
()
| 62 | * The ready event handler and self cleanup method |
| 63 | */ |
| 64 | function completed() { |
| 65 | document.removeEventListener( "DOMContentLoaded", completed, false ); |
| 66 | window.removeEventListener( "load", completed, false ); |
| 67 | jQuery.ready(); |
| 68 | } |
| 69 | |
| 70 | jQuery.ready.promise = function( obj ) { |
| 71 | if ( !readyList ) { |
nothing calls this directly
no outgoing calls
no test coverage detected