[Code Style] Run gulp fixstyle
...to apply code style settings from #142.
This commit is contained in:
@@ -36,7 +36,11 @@ define(
|
||||
object = {},
|
||||
delegation;
|
||||
|
||||
function capture(k) { return function (v) { captured[k] = v; }; }
|
||||
function capture(k) {
|
||||
return function (v) {
|
||||
captured[k] = v;
|
||||
};
|
||||
}
|
||||
function TestDomainObject(caps, id) {
|
||||
return {
|
||||
getId: function () {
|
||||
@@ -67,12 +71,16 @@ define(
|
||||
beforeEach(function () {
|
||||
captured = {};
|
||||
typeDef = {};
|
||||
typeDef.delegates = [ "foo" ];
|
||||
type = { getDefinition: function () { return typeDef; } };
|
||||
typeDef.delegates = ["foo"];
|
||||
type = { getDefinition: function () {
|
||||
return typeDef;
|
||||
} };
|
||||
children = [];
|
||||
capabilities = {
|
||||
type: type,
|
||||
composition: { invoke: function () { return mockPromise(children); } }
|
||||
composition: { invoke: function () {
|
||||
return mockPromise(children);
|
||||
} }
|
||||
};
|
||||
object = new TestDomainObject(capabilities);
|
||||
|
||||
@@ -95,4 +103,4 @@ define(
|
||||
});
|
||||
});
|
||||
}
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user