mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
🎨 package activation
This commit is contained in:
@@ -330,10 +330,8 @@ class Package
|
||||
@uriHandlerSubscription?.dispose()
|
||||
|
||||
handleURI: (methodName, args) ->
|
||||
@activate().then =>
|
||||
@mainModule[methodName]?.apply(@mainModule, args)
|
||||
unless @mainActivated
|
||||
@activateNow()
|
||||
@activate().then => @mainModule[methodName]?.apply(@mainModule, args)
|
||||
@activateNow() unless @mainActivated
|
||||
|
||||
registerTranspilerConfig: ->
|
||||
if @metadata.atomTranspilers
|
||||
|
||||
Reference in New Issue
Block a user