mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
Rename selector ivar to source
This commit is contained in:
parent
62c94959e1
commit
f84402c4cf
@ -11,8 +11,11 @@ class TextMateScopeSelector
|
||||
TextMateScopeSelector.parser = PEG.buildParser(fsUtils.read(patternPath))
|
||||
TextMateScopeSelector.parser
|
||||
|
||||
constructor: (@selector) ->
|
||||
@matcher = TextMateScopeSelector.createParser().parse(@selector)
|
||||
source: null
|
||||
matcher: null
|
||||
|
||||
constructor: (@source) ->
|
||||
@matcher = TextMateScopeSelector.createParser().parse(@source)
|
||||
|
||||
matches: (scopes) ->
|
||||
@matcher.matches(scopes)
|
||||
|
Loading…
Reference in New Issue
Block a user