[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,11 +32,11 @@ define(
beforeEach(function () {
mockTypeService = jasmine.createSpyObj(
'typeService',
[ 'listTypes' ]
['listTypes']
);
mockCapabilityService = jasmine.createSpyObj(
'capabilityService',
[ 'getCapabilities' ]
['getCapabilities']
);
// Both types can only contain b, let's say
mockTypes = ['a', 'b'].map(function (type) {
@@ -82,4 +82,4 @@ define(
});
}
);
);

View File

@@ -36,7 +36,7 @@ define(
mockInjector = jasmine.createSpyObj('$injector', ['get']);
mockPolicyService = jasmine.createSpyObj(
'policyService',
[ 'allow' ]
['allow']
);
mockTypes = ['a', 'b'].map(function (type) {
var mockType = jasmine.createSpyObj('type-' + type, ['getKey']);
@@ -90,4 +90,4 @@ define(
});
});
}
);
);

View File

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

View File

@@ -34,11 +34,11 @@ define(
mockInjector = jasmine.createSpyObj('$injector', ['get']);
mockTypeService = jasmine.createSpyObj(
'typeService',
[ 'listTypes' ]
['listTypes']
);
mockCapabilityService = jasmine.createSpyObj(
'capabilityService',
[ 'getCapabilities' ]
['getCapabilities']
);
// Both types can only contain b, let's say
mockTypes = ['a', 'b'].map(function (type) {
@@ -82,4 +82,4 @@ define(
});
}
);
);

View File

@@ -32,11 +32,11 @@ define(
beforeEach(function () {
mockTypeService = jasmine.createSpyObj(
'typeService',
[ 'listTypes' ]
['listTypes']
);
mockCapabilityService = jasmine.createSpyObj(
'capabilityService',
[ 'getCapabilities' ]
['getCapabilities']
);
// Both types can only contain b, let's say
mockTypes = ['a', 'b', 'c'].map(function (type, index) {
@@ -48,7 +48,7 @@ define(
mockType.getDefinition.andReturn({
// First two contain objects with capability 'b';
// third one defines no containership rules
contains: (index < 2) ? [ { has: 'b' } ] : undefined
contains: (index < 2) ? [{ has: 'b' }] : undefined
});
// Return a model to drive apparant capabilities
mockType.getInitialModel.andReturn({ id: type });
@@ -93,4 +93,4 @@ define(
});
}
);
);