mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Pass through apiPreviewMode flag
This commit is contained in:
@@ -503,9 +503,9 @@ class AtomApplication
|
||||
# :safeMode - A Boolean which controls whether any newly opened windows
|
||||
# should be in safe mode or not.
|
||||
# :window - An {AtomWindow} to use for opening a selected file path.
|
||||
promptForPathToOpen: (type, {devMode, safeMode, window}) ->
|
||||
promptForPathToOpen: (type, {devMode, safeMode, apiPreviewMode, window}) ->
|
||||
@promptForPath type, (pathsToOpen) =>
|
||||
@openPaths({pathsToOpen, devMode, safeMode, window})
|
||||
@openPaths({pathsToOpen, devMode, safeMode, apiPreviewMode, window})
|
||||
|
||||
promptForPath: (type, callback) ->
|
||||
properties =
|
||||
|
||||
Reference in New Issue
Block a user