mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Assign global 'platform' variable on window at eval time
This commit is contained in:
committed by
Kevin Sawicki
parent
c53f87fcba
commit
4eb3c2d67b
@@ -13,6 +13,7 @@ windowAdditions =
|
||||
rootViewParentSelector: 'body'
|
||||
rootView: null
|
||||
keymap: null
|
||||
platform: $native.getPlatform()
|
||||
|
||||
setUpKeymap: ->
|
||||
Keymap = require 'keymap'
|
||||
|
||||
Reference in New Issue
Block a user