Tony Brix
174672d00b
Update all {Repository} to {GitRepository}
2018-01-15 23:34:43 -06:00
Max Brunsfeld
96e4018ef7
Resubscribe to grammar events after clearing grammar registry
2017-11-06 12:36:58 -08:00
Max Brunsfeld
4ec1d85aad
Merge branch 'master' into mb-use-language-mode-api
2017-11-06 11:32:52 -08:00
Max Brunsfeld
351f96d5dd
Iterate on GrammarRegistry APIs
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-11-06 09:36:06 -08:00
Max Brunsfeld
140a783011
Start work on switching to new language mode API
2017-11-03 00:12:33 -07:00
Max Brunsfeld
0d6c746572
Add grammar registry as an injected dependency of Project
2017-11-02 12:24:11 -07:00
Max Brunsfeld
b7ae57bdbe
Inline unnecessary addBufferAtIndex method
2017-11-02 11:56:54 -07:00
hansonw
303cf30b51
Allow directory providers to implement onDidChangeFiles for custom pathwatchers
2017-11-02 11:43:33 -07:00
Jason Rudolph
a4ea46c57e
Rename local variable
...
/xref: https://github.com/atom/atom/pull/15898#discussion_r144850427
2017-10-16 11:04:56 -04:00
Jason Rudolph
5ec9d0f134
🐛 Fix bug disposing watchers in Project::addPath
...
`this.rootDirectories` is an Array of Directory objects. `path` is a
String. Therefore, `this.rootDirectories.includes(path)` will always
evaluate to `false`. We instead need to look for an entry in
`this.rootDirectories` where the Directory object's path is equal to the
given path.
2017-10-15 10:00:14 -04:00
Jason Rudolph
5937b95b49
Fix loop contructs that got borked by decaffeinate
2017-10-15 10:00:02 -04:00
Jason Rudolph
790e202549
🎨
2017-10-15 10:00:02 -04:00
Jason Rudolph
8df4cfbe58
🎨
2017-10-15 10:00:02 -04:00
Jason Rudolph
48625584e4
🎨 Use shorter variations of null checks
2017-10-15 10:00:02 -04:00
Jason Rudolph
b2571e8976
Avoid inline assignments
2017-10-15 10:00:02 -04:00
Jason Rudolph
99aaafed1b
DS103: Rewrite code to no longer use __guard__
2017-10-15 10:00:02 -04:00
Jason Rudolph
94a552149d
Remove unnecessary use of Array.from
2017-10-15 10:00:01 -04:00
Jason Rudolph
c1b0afe969
Remove unnecessary code created because of implicit returns
2017-10-15 10:00:01 -04:00
Jason Rudolph
8f40af16a9
🎨
2017-10-14 17:07:09 -04:00
Jason Rudolph
dd6359b507
Remove Babel/TypeScript constructor workaround
2017-10-14 12:47:19 -04:00
Jason Rudolph
cab8824aae
👔 Fix linter violations
2017-10-14 12:47:00 -04:00
Jason Rudolph
25b7ddb328
☠️ ☕ Decaffeinate src/project.coffee
...
Apply results of running:
```
$ decaffeinate --keep-commonjs --prefer-const --loose-default-params --loose-for-expressions --loose-for-of --loose-includes'
$ standard --fix src/project.js
```
2017-10-14 11:58:47 -04:00