mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Rename selector ivar to source
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user