mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
[API Refactor] Fix JSLint failures
Fix JSLint failures by excluding top-level code, and by explicitly declaring variable require.
This commit is contained in:
@ -2245,7 +2245,7 @@ options. The sources can be deployed in the same directory structure used during
|
|||||||
development. A few utilities are included to support development processes.
|
development. A few utilities are included to support development processes.
|
||||||
|
|
||||||
## Command-line Build
|
## Command-line Build
|
||||||
Open MCT Web includes a script for building via command line using Maven 3.0.4
|
Open MCT Web includes a script for building via command line using Maven 3.3.9
|
||||||
https://maven.apache.org/ .
|
https://maven.apache.org/ .
|
||||||
|
|
||||||
Invoking mvn clean install will:
|
Invoking mvn clean install will:
|
||||||
@ -2435,4 +2435,4 @@ The following configuration constants are recognized by Open MCT Web bundles:
|
|||||||
* `ELASTIC_ROOT`: URL or path to the ElasticSearch instance to be used for
|
* `ELASTIC_ROOT`: URL or path to the ElasticSearch instance to be used for
|
||||||
domain object persistence. Should not include a trailing slash.
|
domain object persistence. Should not include a trailing slash.
|
||||||
* `ELASTIC_PATH`: Path relative to the ElasticSearch instance where domain
|
* `ELASTIC_PATH`: Path relative to the ElasticSearch instance where domain
|
||||||
object models should be persisted. Should take the form `<index>/<type>`.
|
object models should be persisted. Should take the form `<index>/<type>`.
|
||||||
|
@ -81,6 +81,6 @@ module.exports = function(config) {
|
|||||||
|
|
||||||
// Continuous Integration mode.
|
// Continuous Integration mode.
|
||||||
// If true, Karma captures browsers, runs the tests and exits.
|
// If true, Karma captures browsers, runs the tests and exits.
|
||||||
singleRun: false
|
singleRun: true
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
/*global define, window, requirejs*/
|
/*global define, window, requirejs*/
|
||||||
|
|
||||||
define([
|
define([
|
||||||
|
'require',
|
||||||
'./Constants',
|
'./Constants',
|
||||||
'./FrameworkInitializer',
|
'./FrameworkInitializer',
|
||||||
'./LogLevel',
|
'./LogLevel',
|
||||||
@ -35,6 +36,7 @@ define([
|
|||||||
'./register/ExtensionSorter',
|
'./register/ExtensionSorter',
|
||||||
'./bootstrap/ApplicationBootstrapper'
|
'./bootstrap/ApplicationBootstrapper'
|
||||||
], function (
|
], function (
|
||||||
|
require,
|
||||||
Constants,
|
Constants,
|
||||||
FrameworkInitializer,
|
FrameworkInitializer,
|
||||||
LogLevel,
|
LogLevel,
|
||||||
|
2
pom.xml
2
pom.xml
@ -146,7 +146,7 @@
|
|||||||
<sourceJsFolder>${basedir}</sourceJsFolder>
|
<sourceJsFolder>${basedir}</sourceJsFolder>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/lib/**</exclude>
|
<exclude>**/lib/**</exclude>
|
||||||
<exclude>app.js</exclude>
|
<exclude>*.js</exclude>
|
||||||
<exclude>node_modules/**/*</exclude>
|
<exclude>node_modules/**/*</exclude>
|
||||||
<exclude>protractor/**/*</exclude>
|
<exclude>protractor/**/*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
Reference in New Issue
Block a user