Add more corrections off of the #Internal syntax

This commit is contained in:
Garen Torikian
2013-04-18 13:38:26 -07:00
parent 0acccc383e
commit e478d9b7a0
14 changed files with 206 additions and 131 deletions

View File

@@ -9,8 +9,11 @@ require 'space-pen-extensions'
deserializers = {}
deferredDeserializers = {}
###
# Internal #
###
# Internal: This method is called in any window needing a general environment, including specs
# This method is called in any window needing a general environment, including specs
window.setUpEnvironment = ->
Config = require 'config'
Syntax = require 'syntax'
@@ -30,7 +33,7 @@ window.setUpEnvironment = ->
if nativeStylesheetPath = fsUtils.resolveOnLoadPath(process.platform, ['css', 'less'])
requireStylesheet(nativeStylesheetPath)
# Internal: This method is only called when opening a real application window
# This method is only called when opening a real application window
window.startup = ->
directory = _.find ['/opt/boxen', '/opt/github', '/usr/local'], (dir) -> fsUtils.isDirectory(dir)
if directory