[Timeline] Satisfy JSHint
This commit is contained in:
@@ -85,14 +85,6 @@ define([
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function addCostProperties(costCapability) {
|
|
||||||
costCapability.resources().forEach(function (key) {
|
|
||||||
if (costKeys.indexOf(key) === -1) {
|
|
||||||
costKeys.push(key);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
idMap = domainObjects.reduce(function (map, domainObject, index) {
|
idMap = domainObjects.reduce(function (map, domainObject, index) {
|
||||||
map[domainObject.getId()] = index + 1;
|
map[domainObject.getId()] = index + 1;
|
||||||
return map;
|
return map;
|
||||||
|
|||||||
@@ -19,11 +19,8 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([], function () {
|
define([], function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A column showing utilization costs associated with activities.
|
* A column showing utilization costs associated with activities.
|
||||||
* @constructor
|
* @constructor
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
define(
|
define(
|
||||||
['../../src/actions/ModeColumn'],
|
['../../src/actions/ModeColumn'],
|
||||||
function (ModeColumn) {
|
function (ModeColumn) {
|
||||||
var TEST_IDS = ['a', 'b', 'c', 'd', 'e', 'f']
|
var TEST_IDS = ['a', 'b', 'c', 'd', 'e', 'f'];
|
||||||
|
|
||||||
describe("ModeColumn", function () {
|
describe("ModeColumn", function () {
|
||||||
var testIndex,
|
var testIndex,
|
||||||
|
|||||||
Reference in New Issue
Block a user