[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

@ -32,7 +32,9 @@ define(
function TestObject(id, context) {
return {
getId: function () { return id; },
getId: function () {
return id;
},
getCapability: function (key) {
return key === 'context' ? context : undefined;
}
@ -44,7 +46,7 @@ define(
mockTimeout = jasmine.createSpy("$timeout");
mockDomainObject = jasmine.createSpyObj(
"domainObject",
[ "getId", "getCapability", "getModel", "useCapability" ]
["getId", "getCapability", "getModel", "useCapability"]
);
controller = new TreeNodeController(mockScope, mockTimeout);
@ -71,7 +73,7 @@ define(
// This is needed to highlight the current selection
var mockContext = jasmine.createSpyObj(
"context",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
obj = new TestObject("test-object", mockContext);
@ -92,11 +94,11 @@ define(
it("expands a node if it is on the navigation path", function () {
var mockParentContext = jasmine.createSpyObj(
"parentContext",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
mockChildContext = jasmine.createSpyObj(
"childContext",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
parent = new TestObject("parent", mockParentContext),
child = new TestObject("child", mockChildContext);
@ -128,11 +130,11 @@ define(
it("does not expand a node if it is not on the navigation path", function () {
var mockParentContext = jasmine.createSpyObj(
"parentContext",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
mockChildContext = jasmine.createSpyObj(
"childContext",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
parent = new TestObject("parent", mockParentContext),
child = new TestObject("child", mockChildContext);
@ -161,11 +163,11 @@ define(
it("does not expand a node if no context is available", function () {
var mockParentContext = jasmine.createSpyObj(
"parentContext",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
mockChildContext = jasmine.createSpyObj(
"childContext",
[ "getParent", "getPath", "getRoot" ]
["getParent", "getPath", "getRoot"]
),
parent = new TestObject("parent", mockParentContext),
child = new TestObject("child", undefined);