mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Assign $windowNumber in index.html
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
# This a weirdo file. We don't create a Window class, we just add stuff to
|
||||
# the DOM window.
|
||||
|
||||
$windowNumber = window.location.params.windowNumber
|
||||
|
||||
Native = require 'native'
|
||||
TextMateBundle = require 'text-mate-bundle'
|
||||
TextMateTheme = require 'text-mate-theme'
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
var pair = param.split("=")
|
||||
window.location.params[pair[0]] = pair[1];
|
||||
});
|
||||
window.$windowNumber = window.location.params.windowNumber
|
||||
var bootstrapScript = window.location.params.bootstrapScript;
|
||||
if (bootstrapScript) require(bootstrapScript);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user