mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Implement TextMatePackage.activateSync
This commit is contained in:
@@ -33,11 +33,11 @@ class TextMatePackage extends Package
|
||||
@metadata = Package.loadMetadata(@path, true)
|
||||
|
||||
activate: ({sync, immediate}={})->
|
||||
if sync or immediate
|
||||
@loadGrammarsSync()
|
||||
@loadScopedPropertiesSync()
|
||||
else
|
||||
TextMatePackage.addToActivationPromise(this)
|
||||
TextMatePackage.addToActivationPromise(this)
|
||||
|
||||
activateSync: ->
|
||||
@loadGrammarsSync()
|
||||
@loadScopedPropertiesSync()
|
||||
|
||||
activateConfig: -> # noop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user