[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

@@ -34,15 +34,15 @@ define(
beforeEach(function () {
testId = "some-id";
testStatusFlags = [ 'a', 'b', 'c' ];
testStatusFlags = ['a', 'b', 'c'];
mockStatusService = jasmine.createSpyObj(
'statusService',
[ 'listen', 'setStatus', 'listStatuses' ]
['listen', 'setStatus', 'listStatuses']
);
mockDomainObject = jasmine.createSpyObj(
'domainObject',
[ 'getId', 'getCapability', 'getModel' ]
['getId', 'getCapability', 'getModel']
);
mockUnlisten = jasmine.createSpy('unlisten');

View File

@@ -50,7 +50,7 @@ define(
}
beforeEach(function () {
testStatusFlags = [ 'x', 'y', 'z' ];
testStatusFlags = ['x', 'y', 'z'];
mockScope = {};
mockElement = jasmine.createSpyObj('element', [
@@ -60,11 +60,11 @@ define(
testRepresentation = { key: "someKey" };
mockDomainObject = jasmine.createSpyObj(
'domainObject',
[ 'getModel', 'getId', 'getCapability' ]
['getModel', 'getId', 'getCapability']
);
mockStatusCapability = jasmine.createSpyObj(
'status',
[ 'list', 'get', 'set', 'listen' ]
['list', 'get', 'set', 'listen']
);
mockUnlisten = jasmine.createSpy();

View File

@@ -40,7 +40,7 @@ define(
mockTopic = jasmine.createSpy('topic');
mockTopicInstance = jasmine.createSpyObj(
'topicInstance',
[ 'notify', 'listen' ]
['notify', 'listen']
);
mockUnlisten = jasmine.createSpy('unlisten');
mockCallback = jasmine.createSpy('callback');
@@ -75,7 +75,7 @@ define(
it("notifies listeners of changes", function () {
statusService.setStatus(testId, testStatus, true);
expect(mockTopicInstance.notify)
.toHaveBeenCalledWith([ testStatus ]);
.toHaveBeenCalledWith([testStatus]);
statusService.setStatus(testId, testStatus, false);
expect(mockTopicInstance.notify)
.toHaveBeenCalledWith([ ]);