mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove leftover global in WorkspaceElement
This commit is contained in:
committed by
Nathan Sobo
parent
2532a9cd59
commit
45f536a5ee
@@ -52,7 +52,7 @@ class WorkspaceElement extends HTMLElement
|
||||
line-height: #{@config.get('editor.lineHeight')};
|
||||
}
|
||||
"""
|
||||
atom.styles.addStyleSheet(styleSheetSource, sourcePath: 'global-text-editor-styles')
|
||||
@styles.addStyleSheet(styleSheetSource, sourcePath: 'global-text-editor-styles')
|
||||
|
||||
initialize: (@model, {@views, @workspace, @project, @config, @styles}) ->
|
||||
throw new Error("Must pass a views parameter when initializing WorskpaceElements") unless @views?
|
||||
|
||||
Reference in New Issue
Block a user