Kevin Sawicki
820b870f82
Use triggerHandler for window focus/blur in specs
2013-10-16 14:41:38 -07:00
Kevin Sawicki
ee6b2b0776
Trigger complete beforeunload event
...
jquery 2.0 fails to trigger this event using just
$(window).trigger('beforeunload')
2013-10-16 13:35:12 -07:00
Kevin Sawicki
607ed972c1
Listen to window focusin/focusout instead of focus/blur
...
This appears to be needed by jquery 2.0+ so the specs
can correctly simulate these events using trigger.
2013-10-16 13:35:11 -07:00
probablycorey
b0e9b4b81f
Rename RootView.open to RootView.openSync
2013-10-11 10:55:10 -07:00
Kevin Sawicki
156ca6d9fd
Update initial path using atom.loadSettings
2013-10-02 14:22:02 -07:00
Kevin Sawicki
dde7ccadd4
Move onDrop global to WindowEventHandler
2013-10-02 13:40:35 -07:00
Kevin Sawicki
068a10b2db
Extract deserializer management into class
2013-10-02 13:40:34 -07:00
Kevin Sawicki
c808630ba1
Move all stylesheet globals to ThemeManager
2013-10-02 13:40:32 -07:00
Kevin Sawicki
d46891caf0
Rename atom-api require to atom
2013-09-20 10:03:02 -07:00
Kevin Sawicki
38f0e24485
Pass absolute paths to requireStylesheet
2013-09-20 10:02:20 -07:00
Kevin Sawicki
3c94ca4b9e
Use relative paths in spec requires
2013-09-20 10:02:20 -07:00
Kevin Sawicki
71b74c466e
Remove unused requires
2013-09-20 10:02:19 -07:00
Kevin Sawicki
89204f9077
Spy on atom.hide in window specs
2013-09-17 11:11:01 -07:00
Kevin Sawicki
8fb10e35a9
🚱 Destroy current project in beforeEach
...
Previously the window specs were calling window::deserializeEditorWindow
without first destroying the spec project causing the global to be
reassigned over and leaking the initial project and repo.
2013-08-29 18:41:27 -07:00
Kevin Sawicki
57132f57bd
Suppress deserialization warning during window spec
2013-08-29 09:18:52 -07:00
Kevin Sawicki
6261124464
Update spec to use atom::close instead of window::close
2013-08-28 10:43:12 -07:00
Kevin Sawicki
6e2fd18f62
Add back ability to open an arbitrary window
...
atom.open now takes an options has that can contain either pathsToOpen
or the complete settings of a new window.
This will be used by the collaboration package to open the window when a
session is being joined.
2013-08-20 15:30:53 -07:00
Kevin Sawicki
a7a1244599
Flatten spec directory
2013-08-19 20:13:58 -07:00