mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add atom.syntax.grammars shim
This commit is contained in:
@@ -28,6 +28,9 @@ class Syntax
|
||||
@subscribe @registry, 'grammar-updated', (grammar) =>
|
||||
@emit 'grammar-updated', grammar
|
||||
|
||||
#TODO Remove once packages have been updated
|
||||
@__defineGetter__ 'grammars', -> @registry.grammars
|
||||
|
||||
@nullGrammar = @registry.nullGrammar
|
||||
@scopedPropertiesIndex = 0
|
||||
@scopedProperties = []
|
||||
|
||||
Reference in New Issue
Block a user