Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey

For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
This commit is contained in:
J. Ryan Stinnett
2016-05-17 13:25:54 -05:00
parent 8c302515f8
commit 530b903fcf
1647 changed files with 18387 additions and 18387 deletions

View File

@@ -29,7 +29,7 @@ PerformancePanel.prototype = {
* A promise that is resolved when the Performance tool
* completes opening.
*/
open: Task.async(function*() {
open: Task.async(function* () {
if (this._opening) {
return this._opening;
}
@@ -77,7 +77,7 @@ PerformancePanel.prototype = {
return this.toolbox.target;
},
destroy: Task.async(function*() {
destroy: Task.async(function* () {
// Make sure this panel is not already destroyed.
if (this._destroyed) {
return;