mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Update textmatescopeselector
This commit is contained in:
@@ -15,13 +15,13 @@ class TextMateScopeSelector
|
||||
source: null
|
||||
matcher: null
|
||||
|
||||
# Public: Create a new scope selector.
|
||||
# Create a new scope selector.
|
||||
#
|
||||
# source - A {String} to parse as a scope selector.
|
||||
constructor: (@source) ->
|
||||
@matcher = TextMateScopeSelector.createParser().parse(@source)
|
||||
|
||||
# Public: Check if this scope selector matches the scopes.
|
||||
# Check if this scope selector matches the scopes.
|
||||
#
|
||||
# scopes - An {Array} of {String}s.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user