Forgot to delete text-mate-bundle.coffee

This commit is contained in:
Nathan Sobo
2013-01-01 13:28:39 -07:00
parent 08a27cf93d
commit 0851bedbe8

View File

@@ -1,24 +0,0 @@
_ = require 'underscore'
fs = require 'fs'
plist = require 'plist'
$ = require 'jquery'
TextMateGrammar = require 'text-mate-grammar'
module.exports =
class TextMateBundle
@grammarsByFileType: {}
@grammarsByScopeName: {}
@grammars: []
@load: (name) ->
bundle = new TextMateBundle(require.resolve(name))
syntax.addGrammar(grammar) for grammar in bundle.grammars
bundle
grammars: null
constructor: (@path) ->
getSyntaxesPath: ->
fs.join(@path, "Syntaxes")