(el, options)
| 227 | } |
| 228 | |
| 229 | function selectElementContentsAndFire(el, options) { |
| 230 | options = options || {}; |
| 231 | selectElementContents(el, options); |
| 232 | fireEvent(el, options.eventToFire || 'click'); |
| 233 | if (options.testDelay !== -1) { |
| 234 | if (!options.testDelay) { |
| 235 | jasmine.clock().tick(1); |
| 236 | } else { |
| 237 | jasmine.clock().tick(options.testDelay); |
| 238 | } |
| 239 | } |
| 240 | } |
| 241 | |
| 242 | var WORD_PASTE_EXAMPLE = ['<html xmlns:o="urn:schemas-microsoft-com:office:office"', |
| 243 | 'xmlns:w="urn:schemas-microsoft-com:office:word"', |
no test coverage detected
searching dependent graphs…