[Build] Remove use strict, global

Remove usages of use strict and global declarations that are
no longer necessary with JSHint configuration, from files
added/changed since #724
This commit is contained in:
Victor Woeltjen 2016-04-08 16:11:12 -07:00
parent 5e44bfc6c7
commit 5088453712
42 changed files with 0 additions and 66 deletions

View File

@ -19,10 +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";
/** /**
* Policy suppressing links when the linked-to domain object is in * Policy suppressing links when the linked-to domain object is in

View File

@ -19,13 +19,11 @@
* 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([ define([
'zepto', 'zepto',
'text!../../res/templates/tree/tree-label.html' 'text!../../res/templates/tree/tree-label.html'
], function ($, labelTemplate) { ], function ($, labelTemplate) {
'use strict';
function TreeLabelView(gestureService) { function TreeLabelView(gestureService) {
this.el = $(labelTemplate); this.el = $(labelTemplate);

View File

@ -19,7 +19,6 @@
* 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([ define([
'zepto', 'zepto',
@ -27,7 +26,6 @@ define([
'./ToggleView', './ToggleView',
'./TreeLabelView' './TreeLabelView'
], function ($, nodeTemplate, ToggleView, TreeLabelView) { ], function ($, nodeTemplate, ToggleView, TreeLabelView) {
'use strict';
function TreeNodeView(gestureService, subtreeFactory, selectFn) { function TreeNodeView(gestureService, subtreeFactory, selectFn) {
this.li = $('<li>'); this.li = $('<li>');

View File

@ -19,14 +19,12 @@
* 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([ define([
'zepto', 'zepto',
'./TreeNodeView', './TreeNodeView',
'text!../../res/templates/tree/wait-node.html' 'text!../../res/templates/tree/wait-node.html'
], function ($, TreeNodeView, spinnerTemplate) { ], function ($, TreeNodeView, spinnerTemplate) {
'use strict';
function TreeView(gestureService, selectFn) { function TreeView(gestureService, selectFn) {
this.ul = $('<ul class="tree"></ul>'); this.ul = $('<ul class="tree"></ul>');

View File

@ -19,7 +19,6 @@
* 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,describe,beforeEach,jasmine,it,expect*/
define([ define([
'../../src/directives/MCTTree' '../../src/directives/MCTTree'

View File

@ -19,13 +19,11 @@
* 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,describe,beforeEach,jasmine,it,expect*/
define([ define([
'../../src/ui/TreeView', '../../src/ui/TreeView',
'zepto' 'zepto'
], function (TreeView, $) { ], function (TreeView, $) {
'use strict';
describe("TreeView", function () { describe("TreeView", function () {
var mockGestureService, var mockGestureService,

View File

@ -19,10 +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';
/** /**
* Provides a cache for domain object models which exist in memory, * Provides a cache for domain object models which exist in memory,

View File

@ -19,10 +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,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
define(['../../src/models/ModelCacheService'], function (ModelCacheService) { define(['../../src/models/ModelCacheService'], function (ModelCacheService) {
'use strict';
describe("ModelCacheService", function () { describe("ModelCacheService", function () {
var testIds, var testIds,
testModels, testModels,

View File

@ -20,9 +20,7 @@
* 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';
/** /**
* Disallow duplication when the object to be duplicated is not * Disallow duplication when the object to be duplicated is not

View File

@ -20,9 +20,7 @@
* 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';
/** /**
* Disallow moves when either the parent or the child are not * Disallow moves when either the parent or the child are not

View File

@ -19,7 +19,6 @@
* 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 spyOn*/
define( define(
function () { function () {

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global jasmine*/
define( define(
function () { function () {

View File

@ -20,12 +20,10 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global define,describe,beforeEach,it,jasmine,expect,spyOn */
define([ define([
'../../src/policies/CopyPolicy', '../../src/policies/CopyPolicy',
'../DomainObjectFactory' '../DomainObjectFactory'
], function (CopyPolicy, domainObjectFactory) { ], function (CopyPolicy, domainObjectFactory) {
'use strict';
describe("CopyPolicy", function () { describe("CopyPolicy", function () {
var testMetadata, var testMetadata,

View File

@ -20,12 +20,10 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global define,describe,beforeEach,it,jasmine,expect,spyOn */
define([ define([
'../../src/policies/MovePolicy', '../../src/policies/MovePolicy',
'../DomainObjectFactory' '../DomainObjectFactory'
], function (MovePolicy, domainObjectFactory) { ], function (MovePolicy, domainObjectFactory) {
'use strict';
describe("MovePolicy", function () { describe("MovePolicy", function () {
var testMetadata, var testMetadata,

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global jasmine*/
define( define(
function () { function () {

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global jasmine*/
define( define(
[ [
'../ControlledPromise' '../ControlledPromise'

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global jasmine*/
define( define(
function () { function () {

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global spyOn*/
define( define(
["../src/TimeConductor"], ["../src/TimeConductor"],
function (TimeConductor) { function (TimeConductor) {

View File

@ -19,14 +19,12 @@
* 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( define(
[ [
'./TelemetryTableController' './TelemetryTableController'
], ],
function (TableController) { function (TableController) {
"use strict";
/** /**
* Extends TelemetryTableController and adds real-time streaming * Extends TelemetryTableController and adds real-time streaming

View File

@ -19,14 +19,12 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,xit*/
define( define(
[ [
"../../src/controllers/RTTelemetryTableController" "../../src/controllers/RTTelemetryTableController"
], ],
function (TableController) { function (TableController) {
"use strict";
describe('The real-time table controller', function () { describe('The real-time table controller', function () {
var mockScope, var mockScope,

View File

@ -19,10 +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 containing references to other objects contained * A column containing references to other objects contained

View File

@ -19,10 +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(["./ExportTimelineAsCSVTask"], function (ExportTimelineAsCSVTask) { define(["./ExportTimelineAsCSVTask"], function (ExportTimelineAsCSVTask) {
'use strict';
/** /**
* Implements the "Export Timeline as CSV" action. * Implements the "Export Timeline as CSV" action.

View File

@ -19,7 +19,6 @@
* 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,Promise*/
/** /**
* Module defining ExportTimelineAsCSVTask. Created by vwoeltje on 2/8/16. * Module defining ExportTimelineAsCSVTask. Created by vwoeltje on 2/8/16.
@ -28,7 +27,6 @@ define([
"./TimelineTraverser", "./TimelineTraverser",
"./TimelineColumnizer" "./TimelineColumnizer"
], function (TimelineTraverser, TimelineColumnizer) { ], function (TimelineTraverser, TimelineColumnizer) {
"use strict";
/** /**
* Runs (and coordinates) the preparation and export of CSV data * Runs (and coordinates) the preparation and export of CSV data

View File

@ -19,10 +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 domain object identifiers. * A column showing domain object identifiers.

View File

@ -19,10 +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 reflecting properties from domain object metadata. * A column reflecting properties from domain object metadata.

View File

@ -19,10 +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 relationships to activity modes. * A column showing relationships to activity modes.

View File

@ -19,7 +19,6 @@
* 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,Promise*/
define([ define([
"./IdColumn", "./IdColumn",
@ -34,7 +33,6 @@ define([
MetadataColumn, MetadataColumn,
TimespanColumn TimespanColumn
) { ) {
'use strict';
/** /**
* A description of how to populate a given column within a * A description of how to populate a given column within a

View File

@ -19,10 +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,Promise*/
define([], function () { define([], function () {
"use strict";
/** /**
* Builds a list of domain objects which should be included * Builds a list of domain objects which should be included

View File

@ -19,10 +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(['../TimelineFormatter'], function (TimelineFormatter) { define(['../TimelineFormatter'], function (TimelineFormatter) {
"use strict";
var FORMATTER = new TimelineFormatter(); var FORMATTER = new TimelineFormatter();

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/CompositionColumn'], ['../../src/actions/CompositionColumn'],

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/ExportTimelineAsCSVAction'], ['../../src/actions/ExportTimelineAsCSVAction'],

View File

@ -19,12 +19,10 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/ExportTimelineAsCSVTask'], ['../../src/actions/ExportTimelineAsCSVTask'],
function (ExportTimelineAsCSVTask) { function (ExportTimelineAsCSVTask) {
'use strict';
// Note that most responsibility is delegated to helper // Note that most responsibility is delegated to helper
// classes, so testing here is minimal. // classes, so testing here is minimal.

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/IdColumn'], ['../../src/actions/IdColumn'],

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/MetadataColumn'], ['../../src/actions/MetadataColumn'],

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/ModeColumn'], ['../../src/actions/ModeColumn'],

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/TimelineColumnizer'], ['../../src/actions/TimelineColumnizer'],

View File

@ -19,12 +19,10 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define([ define([
"../../src/actions/TimelineTraverser" "../../src/actions/TimelineTraverser"
], function (TimelineTraverser) { ], function (TimelineTraverser) {
'use strict';
describe("TimelineTraverser", function () { describe("TimelineTraverser", function () {
var testModels, var testModels,

View File

@ -19,7 +19,6 @@
* 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,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
define( define(
['../../src/actions/TimespanColumn', '../../src/TimelineFormatter'], ['../../src/actions/TimespanColumn', '../../src/TimelineFormatter'],

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global window,requirejs*/
define([ define([
'require', 'require',

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global window,requirejs*/
/** /**
* Implements the framework layer, which handles the loading of bundles * Implements the framework layer, which handles the loading of bundles

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global self*/
/** /**
* Module defining GenericSearchWorker. Created by shale on 07/21/2015. * Module defining GenericSearchWorker. Created by shale on 07/21/2015.

View File

@ -20,7 +20,6 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global require*/
/** /**
* SearchSpec. Created by shale on 07/31/2015. * SearchSpec. Created by shale on 07/31/2015.