mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add ability to simulate DOM attachment to spec helper
This commit is contained in:
committed by
Corey Johnson
parent
0024cf89de
commit
b1ab0735c7
@@ -131,3 +131,5 @@ $.fn.textInput = (data) ->
|
||||
event = jQuery.event.fix(event)
|
||||
$(this).trigger(event)
|
||||
|
||||
$.fn.simulateDomAttachment = ->
|
||||
$('<html>').append(this)
|
||||
Reference in New Issue
Block a user