[Build] Remove boilerplate from scripts
No longer necessary after JSHint configuration.
This commit is contained in:
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../src/controllers/ActivityModeValuesController'],
|
||||
function (ActivityModeValuesController) {
|
||||
'use strict';
|
||||
|
||||
describe("An Activity Mode's Values view controller", function () {
|
||||
var testResources,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../src/controllers/TimelineController'],
|
||||
function (TimelineController) {
|
||||
'use strict';
|
||||
|
||||
var DOMAIN_OBJECT_METHODS = [
|
||||
'getModel',
|
||||
|
||||
@@ -20,12 +20,10 @@
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
["../../src/controllers/TimelineDateTimeController"],
|
||||
function (TimelineDateTimeController) {
|
||||
"use strict";
|
||||
|
||||
describe("The date-time controller for timeline creation", function () {
|
||||
var mockScope,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../src/controllers/TimelineGanttController'],
|
||||
function (TimelineGanttController) {
|
||||
"use strict";
|
||||
|
||||
var TEST_MAX_OFFSCREEN = 50;
|
||||
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../src/controllers/TimelineGraphController'],
|
||||
function (TimelineGraphController) {
|
||||
'use strict';
|
||||
|
||||
describe("The Timeline graph controller", function () {
|
||||
var mockScope,
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
[
|
||||
@@ -27,7 +26,6 @@ define(
|
||||
'../../src/TimelineFormatter'
|
||||
],
|
||||
function (TimelineTableController, TimelineFormatter) {
|
||||
"use strict";
|
||||
|
||||
describe("The timeline table controller", function () {
|
||||
var formatter, controller;
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../src/controllers/TimelineTickController', '../../src/TimelineFormatter'],
|
||||
function (TimelineTickController, TimelineFormatter) {
|
||||
'use strict';
|
||||
|
||||
var BILLION = 1000000000,
|
||||
FORMATTER = new TimelineFormatter();
|
||||
|
||||
@@ -19,13 +19,11 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
|
||||
define(
|
||||
['../../src/controllers/TimelineZoomController'],
|
||||
function (TimelineZoomController) {
|
||||
'use strict';
|
||||
|
||||
describe("The timeline zoom state controller", function () {
|
||||
var testConfiguration,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineDragHandleFactory'],
|
||||
function (TimelineDragHandleFactory) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline drag handle factory", function () {
|
||||
var mockDragHandler,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineDragHandler'],
|
||||
function (TimelineDragHandler) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline drag handler", function () {
|
||||
var mockLoader,
|
||||
|
||||
@@ -19,13 +19,11 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineDragPopulator'],
|
||||
function (TimelineDragPopulator) {
|
||||
"use strict";
|
||||
|
||||
describe("The timeline drag populator", function () {
|
||||
var mockObjectLoader,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineEndHandle', '../../../src/TimelineConstants'],
|
||||
function (TimelineEndHandle, TimelineConstants) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline end drag handle", function () {
|
||||
var mockDragHandler,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineMoveHandle', '../../../src/TimelineConstants'],
|
||||
function (TimelineMoveHandle, TimelineConstants) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline move drag handle", function () {
|
||||
var mockDragHandler,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineSnapHandler'],
|
||||
function (TimelineSnapHandler) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline snap handler", function () {
|
||||
var mockDragHandler,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/drag/TimelineStartHandle', '../../../src/TimelineConstants'],
|
||||
function (TimelineStartHandle, TimelineConstants) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline start drag handle", function () {
|
||||
var mockDragHandler,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/graph/TimelineGraphPopulator'],
|
||||
function (TimelineGraphPopulator) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline's resource graph populator", function () {
|
||||
var mockSwimlanes,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/graph/TimelineGraphRenderer'],
|
||||
function (TimelineGraphRenderer) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline's graph renderer", function () {
|
||||
var renderer;
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/graph/TimelineGraph'],
|
||||
function (TimelineGraph) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline's resource graph", function () {
|
||||
var mockDomainObjects,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/swimlane/TimelineColorAssigner'],
|
||||
function (TimelineColorAssigner) {
|
||||
'use strict';
|
||||
|
||||
describe("The Timeline legend color assigner", function () {
|
||||
var testConfiguration,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/swimlane/TimelineProxy'],
|
||||
function (TimelineProxy) {
|
||||
'use strict';
|
||||
|
||||
describe("The Timeline's selection proxy", function () {
|
||||
var mockDomainObject,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/swimlane/TimelineSwimlaneDecorator'],
|
||||
function (TimelineSwimlaneDecorator) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline swimlane decorator", function () {
|
||||
var mockSwimlane,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/swimlane/TimelineSwimlaneDropHandler'],
|
||||
function (TimelineSwimlaneDropHandler) {
|
||||
"use strict";
|
||||
|
||||
describe("A timeline's swimlane drop handler", function () {
|
||||
var mockSwimlane,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/swimlane/TimelineSwimlanePopulator'],
|
||||
function (TimelineSwimlanePopulator) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline swimlane populator", function () {
|
||||
var mockLoader,
|
||||
|
||||
@@ -19,12 +19,10 @@
|
||||
* this source code distribution or the Licensing information page available
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||||
|
||||
define(
|
||||
['../../../src/controllers/swimlane/TimelineSwimlane'],
|
||||
function (TimelineSwimlane) {
|
||||
'use strict';
|
||||
|
||||
describe("A Timeline swimlane", function () {
|
||||
var parent,
|
||||
|
||||
Reference in New Issue
Block a user