[Code Style] Run gulp fixstyle

...to apply code style settings from #142.
This commit is contained in:
Victor Woeltjen
2016-05-19 11:29:13 -07:00
parent f12b9704d9
commit fa77139077
440 changed files with 1885 additions and 1662 deletions

View File

@@ -58,7 +58,7 @@ define(
template: formTemplate,
// Use FormController to populate/respond to changes in scope
controller: [ '$scope', FormController ],
controller: ['$scope', FormController],
// Initial an isolate scope
scope: {

View File

@@ -25,16 +25,16 @@ define(
function () {
var BASE_COLORS = [
[ 136, 32, 32 ],
[ 224, 64, 64 ],
[ 240, 160, 72 ],
[ 255, 248, 96 ],
[ 128, 240, 72 ],
[ 128, 248, 248 ],
[ 88, 144, 224 ],
[ 0, 72, 240 ],
[ 136, 80, 240 ],
[ 224, 96, 248 ]
[136, 32, 32],
[224, 64, 64],
[240, 160, 72],
[255, 248, 96],
[128, 240, 72],
[128, 248, 248],
[88, 144, 224],
[0, 72, 240],
[136, 80, 240],
[224, 96, 248]
],
GRADIENTS = [0.75, 0.50, 0.25, -0.25, -0.50, -0.75],
GROUPS = [];

View File

@@ -71,7 +71,7 @@ define(
// Prepare the form; a single row
buttonForm = {
name: structure.title,
sections: [ { rows: [ row ] } ]
sections: [{ rows: [row] }]
};
}

View File

@@ -45,7 +45,7 @@ define(
}
];
mockScope = jasmine.createSpyObj("$scope", [ "$watch" ]);
mockScope = jasmine.createSpyObj("$scope", ["$watch"]);
mockLinker = jasmine.createSpyObj("templateLinker", ["link"]);
mockChangeTemplate = jasmine.createSpy('changeTemplate');
mockLinker.link.andReturn(mockChangeTemplate);
@@ -83,4 +83,4 @@ define(
});
}
);
);

View File

@@ -34,7 +34,7 @@ define(
}
beforeEach(function () {
mockScope = jasmine.createSpyObj("$scope", [ "$watch" ]);
mockScope = jasmine.createSpyObj("$scope", ["$watch"]);
mockScope.$parent = {};
mctForm = new MCTForm();
});
@@ -111,4 +111,4 @@ define(
});
}
);
);

View File

@@ -34,7 +34,7 @@ define(
}
beforeEach(function () {
mockScope = jasmine.createSpyObj("$scope", [ "$watch" ]);
mockScope = jasmine.createSpyObj("$scope", ["$watch"]);
mockScope.$parent = {};
mctToolbar = new MCTToolbar();
});
@@ -111,4 +111,4 @@ define(
});
}
);
);

View File

@@ -67,4 +67,4 @@ define(
});
});
}
);
);

View File

@@ -52,4 +52,4 @@ define(
});
}
);
);

View File

@@ -29,7 +29,7 @@ define(
controller;
beforeEach(function () {
mockScope = jasmine.createSpyObj("$scope", [ "$watch" ]);
mockScope = jasmine.createSpyObj("$scope", ["$watch"]);
controller = new DateTimeController(mockScope);
});

View File

@@ -34,15 +34,15 @@ define(
beforeEach(function () {
mockScope = jasmine.createSpyObj(
'$scope',
[ '$watch' ]
['$watch']
);
mockDialogService = jasmine.createSpyObj(
'dialogService',
[ 'getUserInput' ]
['getUserInput']
);
mockPromise = jasmine.createSpyObj(
'promise',
[ 'then' ]
['then']
);
testStructure = {
name: "A Test",
@@ -132,4 +132,4 @@ define(
});
});
}
);
);

View File

@@ -29,7 +29,7 @@ define(
controller;
beforeEach(function () {
mockScope = jasmine.createSpyObj("$scope", [ "$watch" ]);
mockScope = jasmine.createSpyObj("$scope", ["$watch"]);
mockScope.$parent = {};
controller = new FormController(mockScope);
});
@@ -85,4 +85,4 @@ define(
});
}
);
);