[Build] Remove boilerplate from scripts

No longer necessary after JSHint configuration.
This commit is contained in:
Victor Woeltjen
2016-03-04 10:46:38 -08:00
parent 9f840aa0fd
commit ac5ac8d34e
778 changed files with 0 additions and 1547 deletions

View File

@@ -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*/
define([
@@ -28,7 +27,6 @@ define([
legacyRegistry
) {
"use strict";
legacyRegistry.register("platform/framework", {
"name": "Open MCT Web Framework Component",

View File

@@ -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*/
/**
* Constants used by the framework layer.

View File

@@ -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,Promise*/
/**
* Module defining FrameworkInitializer. Created by vwoeltje on 11/3/14.
@@ -27,7 +26,6 @@
define(
[],
function () {
"use strict";
/**
* Responsible for managing the four stages of framework

View File

@@ -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, window, requirejs*/
define([
'require',
@@ -50,7 +49,6 @@ define([
ExtensionSorter,
ApplicationBootstrapper
) {
'use strict';
function FrameworkLayer($http, $log) {
this.$http = $http;

View File

@@ -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*/
define(
[],
function () {
"use strict";
// Log levels; note that these must be in order of
// most-important-first for LogLevel to function correctly

View File

@@ -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, window, requirejs*/
/**
* Implements the framework layer, which handles the loading of bundles
@@ -40,7 +39,6 @@ define(
FrameworkLayer,
angular
) {
"use strict";
function Main() {
}

View File

@@ -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,Promise*/
/**
* Module defining Bootstrapper. Created by vwoeltje on 11/4/14.
@@ -29,7 +28,6 @@
define(
[],
function () {
"use strict";
/**
* The application bootstrapper is responsible for issuing the

View File

@@ -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*/
define(
['../Constants', './Extension'],
function (Constants, Extension) {
"use strict";
/**

View File

@@ -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,Promise*/
/**
* Module defining BundleLoader.js. Created by vwoeltje on 10/31/14.
@@ -27,7 +26,6 @@
define(
['../Constants', './Bundle'],
function (Constants, Bundle) {
"use strict";
var INVALID_ARGUMENT_MESSAGE = "Malformed loadBundles argument; " +
"expected string or array",

View File

@@ -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*/
define(
[],
function () {
"use strict";
/**
* An extension's plain JSON definition.

View File

@@ -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,Promise*/
/**
* Module defining CustomRegistrars. Created by vwoeltje on 11/3/14.
@@ -27,7 +26,6 @@
define(
['../Constants', './ServiceCompositor'],
function (Constants, ServiceCompositor) {
"use strict";
/**
* Handles registration of a few specific extension types that are

View File

@@ -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,Promise*/
/**
* Module defining ExtensionRegistrar. Created by vwoeltje on 11/3/14.
@@ -27,7 +26,6 @@
define(
['../Constants', './PartialConstructor'],
function (Constants, PartialConstructor) {
"use strict";
/**
* Responsible for registering extensions with Angular.

View File

@@ -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*/
define(
["../Constants"],
function (Constants) {
"use strict";
/**
* Responsible for applying priority order to extensions in a

View File

@@ -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,Promise*/
/**
* Module defining PartialConstructor. Created by vwoeltje on 11/3/14.
@@ -27,7 +26,6 @@
define(
[],
function () {
"use strict";
/**
* A partial constructor is used to instantiate objects in two

View File

@@ -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,Promise*/
/**
* Module defining ServiceCompositor. Created by vwoeltje on 11/5/14.
@@ -27,7 +26,6 @@
define(
[],
function () {
"use strict";
/**
* Handles service compositing; that is, building up services

View File

@@ -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,Promise*/
/**
* Module defining BundleResolver. Created by vwoeltje on 11/4/14.
@@ -27,7 +26,6 @@
define(
[],
function () {
"use strict";
/**
* Responsible for the extension resolution phase of framework

View File

@@ -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,Promise*/
/**
* Module defining ExtensionResolver. Created by vwoeltje on 11/3/14.
@@ -27,7 +26,6 @@
define(
[],
function () {
"use strict";
/**
* An ExtensionResolver is responsible for loading any implementation

View File

@@ -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,Promise*/
/**
* Module defining ImplementationLoader. Created by vwoeltje on 11/3/14.
@@ -27,7 +26,6 @@
define(
[],
function () {
"use strict";
/**
* Responsible for loading extension implementations

View File

@@ -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*/
define(
[],
function () {
"use strict";
/**
* Handles configuration of RequireJS to expose libraries

View File

@@ -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,Promise,describe,it,expect,beforeEach,waitsFor,runs*/
/**
* FrameworkInitializerSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../src/FrameworkInitializer"],
function (FrameworkInitializer) {
"use strict";
describe("The framework initializer", function () {
var initializer;

View File

@@ -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,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
define(
['../src/LogLevel'],
function (LogLevel) {
"use strict";
var LOG_METHODS = [
'error',

View File

@@ -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,Promise,describe,it,expect,beforeEach*/
/**
* ApplicationBootstrapperSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/bootstrap/ApplicationBootstrapper"],
function (ApplicationBootstrapper) {
"use strict";
describe("The application bootstrapper", function () {
// Test support variables

View File

@@ -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,Promise,describe,it,expect,beforeEach,waitsFor,runs,jasmine*/
/**
* BundleLoaderSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/load/BundleLoader"],
function (BundleLoader) {
"use strict";
describe("The bundle loader", function () {
var loader,

View File

@@ -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,Promise,describe,it,expect,beforeEach*/
/**
* BundleSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/load/Bundle", "../../src/Constants"],
function (Bundle, Constants) { // Verify against constants, too
"use strict";
describe("A bundle", function () {
var PATH = "some/path",

View File

@@ -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,Promise,describe,it,expect,beforeEach*/
/**
* ExtensionSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/load/Extension", "../../src/load/Bundle"],
function (Extension, Bundle) {
"use strict";
describe("An extension", function () {
var bundle;

View File

@@ -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,Promise,describe,it,expect,beforeEach,jasmine,waitsFor*/
/**
* CustomRegistrarsSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/register/CustomRegistrars"],
function (CustomRegistrars) {
"use strict";
describe("Custom registrars", function () {
var mockLog,

View File

@@ -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,Promise,describe,it,expect,beforeEach,jasmine*/
/**
* ExtensionRegistrarSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/register/ExtensionRegistrar"],
function (ExtensionRegistrar) {
"use strict";
describe("The extension registrar", function () {
var mockApp,

View File

@@ -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,Promise,describe,it,expect,beforeEach,jasmine,waitsFor*/
define(
["../../src/register/ExtensionSorter"],
function (ExtensionSorter) {
"use strict";
describe("The extension sorter", function () {
var mockLog,

View File

@@ -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,Promise,describe,it,expect,beforeEach*/
/**
* PartialConstructorSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/register/PartialConstructor"],
function (PartialConstructor) {
"use strict";
describe("A partial constructor", function () {
var result,

View File

@@ -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,Promise,describe,it,expect,beforeEach,jasmine*/
/**
* ServiceCompositorSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/register/ServiceCompositor"],
function (ServiceCompositor) {
"use strict";
describe("The service compositor", function () {
var registered,

View File

@@ -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,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,runs*/
/**
* BundleResolverSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/resolve/BundleResolver", "../../src/load/Bundle"],
function (BundleResolver, Bundle) {
"use strict";
describe("The bundle resolver", function () {
var mockExtensionResolver,

View File

@@ -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,Promise,describe,it,expect,beforeEach,jasmine,waitsFor,runs*/
/**
* ExtensionResolverSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/resolve/ExtensionResolver", "../../src/load/Bundle"],
function (ExtensionResolver, Bundle) {
"use strict";
describe("", function () {
var mockLoader,

View File

@@ -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,Promise,describe,it,expect,beforeEach,waitsFor,runs*/
/**
* ImplementationLoaderSpec. Created by vwoeltje on 11/6/14.
@@ -27,7 +26,6 @@
define(
["../../src/resolve/ImplementationLoader"],
function (ImplementationLoader) {
"use strict";
describe("The implementation loader", function () {
var required,

View File

@@ -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,runs*/
define(
["../../src/resolve/RequireConfigurator", "../../src/load/Bundle"],
function (RequireConfigurator, Bundle) {
"use strict";
describe("The RequireJS configurator", function () {
var mockRequire,