(domElement, event)
| 142 | } |
| 143 | |
| 144 | var getEventsToRemove = function(domElement, event) { |
| 145 | /* |
| 146 | * Returns an array with the sprintEventListeners events matching potentially |
| 147 | * incomplete event names passed to .off(). |
| 148 | * Example: .off("click.myPlugin") and .off("click.simple") would both remove a |
| 149 | * "click.myPlugin.simple" event. |
| 150 | */ |
| 151 | return Object.keys(getEvents(domElement)).filter(function(prop) { |
| 152 | return splitNamespaces(event).every(function(name) { |
| 153 | return inArray(name, splitNamespaces(prop)) |
| 154 | }) |
| 155 | }) |
| 156 | } |
| 157 | |
| 158 | var getSetDimension = function(obj, prop, value) { |
| 159 | // get |
no test coverage detected