Skip to content

Commit e0b6986

Browse files
authored
Merge pull request nasa#1169 from smirecki/master
[Documentation] Typo corrections
2 parents 156ba83 + f9597fe commit e0b6986

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+53
-53
lines changed

build-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ WEBSITE_DIRECTORY="website"
3232
BUILD_SHA=`git rev-parse HEAD`
3333

3434
# A remote will be created for the git repository we are pushing to.
35-
# Don't worry, as this entire directory will get trashed inbetween builds.
35+
# Don't worry, as this entire directory will get trashed in between builds.
3636
REMOTE_NAME="documentation"
3737
WEBSITE_BRANCH="master"
3838

docs/src/architecture/platform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ follows:
616616
part of an action's extension definition.
617617
* `CreateActionProvider` provides the various Create actions which
618618
populate the Create menu. These are driven by the available types,
619-
so do not map easily ot extension category `actions`; instead, these
619+
so do not map easily to extension category `actions`; instead, these
620620
are generated after looking up which actions are available from the
621621
[`TypeService`](#type-service).
622622
* `ActionAggregator` merges together actions from multiple providers.

docs/src/design/proposals/APIRedesign.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Worked on bug fixes in the platform and a plugin for search.
9898
It is hard to figure out what the difference between the various ways of
9999
dealing with telemetry are. e.g., what is the difference between just
100100
"Telemetry" and the "Telemetry Service"? There are many
101-
"Telemetry Thing"s which seem related, but in an unclear way.
101+
"Telemetry Things" which seem related, but in an unclear way.
102102

103103
### Developer Intern 2
104104

@@ -456,7 +456,7 @@ Instead, propose that:
456456
For parity with actions, a `View` would be a constructor which
457457
takes an `ActionContext` as a parameter (with similarly-defined
458458
properties) and exposes a method to retrieve the HTML elements
459-
associateed with it.
459+
associated with it.
460460

461461
The platform would then additionally expose an `AngularView`
462462
implementation to improve compatibility with existing

docs/src/design/proposals/APIRedesign_PeteRichards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ To reduce interface depth, we can replace our own provider and registry patterns
9999

100100
## More angular: for all services
101101

102-
Increasing our commitment to angular would mean using more of the angular factorys, services, etc, and less of our home grown tools. We'd implement our services and extension points as angular providers, and make them configurable via app.config.
102+
Increasing our commitment to angular would mean using more of the angular factories, services, etc, and less of our home grown tools. We'd implement our services and extension points as angular providers, and make them configurable via app.config.
103103

104104
As an example, registering a specific type of model provider in angular would look like:
105105

docs/src/tutorials/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3238,7 +3238,7 @@ define(
32383238
__tutorials/telemetry/src/ExampleTelemetryServerAdapter.js__
32393239

32403240
Here, we have added `subscribe` and `unsubscribe` methods which issue the
3241-
corresponding requests to the server. Seperately, we introduce the ability to
3241+
corresponding requests to the server. Separately, we introduce the ability to
32423242
listen for `data` messages as they come in: These will contain the data associated
32433243
with these subscriptions.
32443244

example/eventGenerator/data/transcript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"LMP: 47 degrees.",
1111
"CC: Eagle, looking great. You're GO.",
1212
"CC: Roger. 1202. We copy it.",
13-
"O1: LMP 35 degrees. 35 degrees. 750. Coming aown to 23.fl",
13+
"O1: LMP 35 degrees. 35 degrees. 750. Coming down to 23.fl",
1414
"LMP: 700 feet, 21 down, 33 degrees.",
1515
"LMP: 600 feet, down at 19.",
1616
"LMP: 540 feet, down at - 30. Down at 15.",

platform/commonUI/dialog/src/DialogService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ define(
187187

188188
/**
189189
* A description of the model options that may be passed to the
190-
* showBlockingMessage method. Note that the DialogModel desribed
190+
* showBlockingMessage method. Note that the DialogModel described
191191
* here is shared with the Notifications framework.
192192
* @see NotificationService
193193
*

platform/commonUI/edit/test/creation/CreationServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ define(
195195
expect(failure).toHaveBeenCalled();
196196
});
197197

198-
it("logs an error when mutaton fails", function () {
198+
it("logs an error when mutation fails", function () {
199199
// If mutation of the parent fails, we've lost the
200200
// created object - this is an error.
201201
var model = { someKey: "some value" };

platform/commonUI/edit/test/representers/EditRepresenterSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ define(
112112
expect(mockPersistence.persist).toHaveBeenCalled();
113113

114114
// Finally, check that the provided mutation function
115-
// includes both model and configuratioon
115+
// includes both model and configuration
116116
expect(
117117
mockDomainObject.useCapability.mostRecentCall.args[1]()
118118
).toEqual({

platform/commonUI/edit/test/representers/EditToolbarRepresenterSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ define(
7979
it("removes state from parent scope on destroy", function () {
8080
// Verify precondition
8181
expect(mockScope.$parent.testToolbar).toBeDefined();
82-
// Destroy the represeter
82+
// Destroy the representer
8383
representer.destroy();
8484
// Should have removed toolbar state from view
8585
expect(mockScope.$parent.testToolbar).toBeUndefined();

platform/commonUI/general/src/controllers/ObjectInspectorController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ define(
3838
$scope.contextutalParents = [];
3939
//$scope.isLink = false;
4040

41-
// Gets an array of the contextual parents/anscestors of the selected object
41+
// Gets an array of the contextual parents/ancestors of the selected object
4242
function getContextualPath() {
4343
var currentObj = $scope.ngModel.selectedObject,
4444
currentParent,
@@ -61,7 +61,7 @@ define(
6161
$scope.contextutalParents = parents;
6262
}
6363

64-
// Gets an array of the parents/anscestors of the selected object's
64+
// Gets an array of the parents/ancestors of the selected object's
6565
// primary location (locational of original non-link)
6666
function getPrimaryPath(current) {
6767
var location;

platform/commonUI/general/src/filters/ReverseFilter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ define(function () {
2525
/**
2626
* Implements the `reverse` filter, which reverses text strings.
2727
* Useful in cases where text should be reversed for presentational
28-
* reasons (e.g. in conjunction with CSS tricks involing text direction),
28+
* reasons (e.g. in conjunction with CSS tricks involving text direction),
2929
* allowing such behavior to be handled independently from the controller
3030
* layer.
3131
*

platform/commonUI/general/src/services/PopupService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ define(
3535
}
3636

3737
/**
38-
* Options controlling how the popup is displaed.
38+
* Options controlling how the popup is displayed.
3939
*
4040
* @typedef PopupOptions
4141
* @memberof platform/commonUI/general

platform/commonUI/general/test/controllers/ClickAwayControllerSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ define(
6060
expect(controller.isActive()).toBe(false);
6161
});
6262

63-
it("allows active state to be explictly specified", function () {
63+
it("allows active state to be explicitly specified", function () {
6464
controller.setState(true);
6565
expect(controller.isActive()).toBe(true);
6666
controller.setState(true);

platform/commonUI/general/test/controllers/ToggleControllerSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ define(
4646
expect(controller.isActive()).toBe(false);
4747
});
4848

49-
it("allows active state to be explictly specified", function () {
49+
it("allows active state to be explicitly specified", function () {
5050
controller.setState(true);
5151
expect(controller.isActive()).toBe(true);
5252
controller.setState(true);

platform/commonUI/mobile/test/MCTDeviceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ define(
7272
expect(directive.restrict).toEqual("A");
7373
});
7474

75-
it("transcludes at the elmeent level", function () {
75+
it("transcludes at the element level", function () {
7676
expect(directive.transclude).toEqual('element');
7777
});
7878

platform/commonUI/notification/src/NotificationService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ define(
361361
autodismiss specified), leave it to run. Otherwise force a
362362
timeout.
363363
364-
This notifcation has been added to queue and will be
364+
This notification has been added to queue and will be
365365
serviced as soon as possible.
366366
*/
367367
this.active.timeout = this.$timeout(function () {

platform/containment/test/CapabilityTableSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define(
4545
['getKey', 'getDefinition', 'getInitialModel']
4646
);
4747
mockType.getKey.andReturn(type);
48-
// Return a model to drive apparant capabilities
48+
// Return a model to drive apparent capabilities
4949
mockType.getInitialModel.andReturn({ id: type });
5050
return mockType;
5151
});

platform/containment/test/ContainmentTableSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ define(
5050
// third one defines no containership rules
5151
contains: (index < 2) ? [{ has: 'b' }] : undefined
5252
});
53-
// Return a model to drive apparant capabilities
53+
// Return a model to drive apparent capabilities
5454
mockType.getInitialModel.andReturn({ id: type });
5555
return mockType;
5656
});

platform/core/src/models/ModelCacheService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ define([], function () {
2424

2525
/**
2626
* Provides a cache for domain object models which exist in memory,
27-
* but may or may not exist in backing persistene stores.
27+
* but may or may not exist in backing persistence stores.
2828
* @constructor
2929
* @memberof platform/core
3030
*/

platform/core/src/models/RootModelProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ define(
4242
* @implements {ModelService}
4343
* @param {Array} roots all `roots[]` extensions
4444
* @param $q Angular's $q, for promises
45-
* @param $log Anuglar's $log, for logging
45+
* @param $log Angular's $log, for logging
4646
*/
4747
function RootModelProvider(roots, $q, $log) {
4848
// Pull out identifiers to used as ROOT's

platform/core/src/models/StaticModelProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ define(
4949
}
5050
}
5151

52-
// Prepoulate maps with models to make subsequent lookup faster.
52+
// Prepopulate maps with models to make subsequent lookup faster.
5353
models.forEach(addModelToMap);
5454

5555
this.modelMap = modelMap;

platform/core/src/types/TypePropertyConversion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ define(
4343
},
4444
ARRAY_SUFFIX = '[]';
4545

46-
// Utility function to handle arrays of conversiions
46+
// Utility function to handle arrays of conversions
4747
function ArrayConversion(conversion) {
4848
return {
4949
toModelValue: function (formValue) {

platform/core/src/types/TypeProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ define(
6868
}) : array;
6969
}
7070

71-
// Reduce an array of type definitions to a single type definiton,
71+
// Reduce an array of type definitions to a single type definition,
7272
// which has merged all properties in order.
7373
function collapse(typeDefs) {
7474
var collapsed = typeDefs.reduce(function (a, b) {

platform/entanglement/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Entanglement is the process of moving, copying, and linking domain objects
44
in such a way that their relationships are impossible to discern.
55

6-
This bundle provides move, copy, and link functionality. Acheiving a state of
6+
This bundle provides move, copy, and link functionality. Achieving a state of
77
entanglement is left up to the end user.
88

99

platform/features/layout/src/FixedDragHandle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ define(
9494
};
9595

9696
/**
97-
* End a drag gesture. This should be callled when a drag
97+
* End a drag gesture. This should be called when a drag
9898
* concludes to trigger commit of changes.
9999
*/
100100
FixedDragHandle.prototype.endDrag = function () {

platform/features/layout/src/LayoutController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ define(
152152
}
153153

154154
// Convert from { positions: ..., dimensions: ... } to an
155-
// apropriate ng-style argument, to position frames.
155+
// appropriate ng-style argument, to position frames.
156156
LayoutController.prototype.convertPosition = function (raw) {
157157
var gridSize = this.gridSize;
158158
// Multiply position/dimensions by grid size

platform/features/layout/test/LayoutControllerSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ define(
164164
// Populate scope
165165
mockScope.$watchCollection.mostRecentCall.args[1]();
166166

167-
// Verify precondtion
167+
// Verify precondition
168168
expect(testConfiguration.panels.b).not.toBeDefined();
169169

170170
// Do a drag

platform/features/plot/test/Canvas2DChartSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ define(
5959
expect(mock2d.clearRect).toHaveBeenCalled();
6060
});
6161

62-
it("doees not construct if 2D is unavailable", function () {
62+
it("does not construct if 2D is unavailable", function () {
6363
mockCanvas.getContext.andReturn(undefined);
6464
expect(function () {
6565
return new Canvas2DChart(mockCanvas);

platform/features/plot/test/GLChartSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ define(
8282
expect(mockGL.clear).toHaveBeenCalled();
8383
});
8484

85-
it("doees not construct if WebGL is unavailable", function () {
85+
it("does not construct if WebGL is unavailable", function () {
8686
mockCanvas.getContext.andReturn(undefined);
8787
expect(function () {
8888
return new GLChart(mockCanvas);

platform/features/timeline/src/controllers/TimelineGanttController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ define(
2626

2727
/**
2828
* Control for Gantt bars in a timeline view.
29-
* Primarily reesponsible for supporting the positioning of Gantt
29+
* Primarily responsible for supporting the positioning of Gantt
3030
* bars; particularly, this ensures that the left and right edges
3131
* never go to far off screen, because in some environments this
3232
* will effect rendering performance without visible results.

platform/features/timeline/src/controllers/TimelineTickController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ define(
2828

2929
/**
3030
* Provides labels for the tick mark area of a timeline view.
31-
* Since the tick mark regin is potentially extremeley large,
31+
* Since the tick mark region is potentially extremely large,
3232
* only the subset of ticks which will actually be shown in
3333
* view are provided.
3434
* @constructor

platform/features/timeline/src/controllers/drag/TimelineDragHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ define(
148148
var timespan = timespans[toId(id)];
149149
// Use as setter if argument is present
150150
if ((typeof value === 'number') && timespan) {
151-
// Set the end (ensuring it doesn't preceed start)
151+
// Set the end (ensuring it doesn't precede start)
152152
timespan.setEnd(
153153
Math.max(value, timespan.getStart())
154154
);

platform/features/timeline/src/controllers/drag/TimelineSnapHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define(
4141
ids,
4242
candidates;
4343

44-
// Filter an id for inclustion
44+
// Filter an id for inclusion
4545
function include(id) {
4646
return id !== exclude;
4747
}

platform/framework/src/load/Bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ define(
174174
* category.
175175
*
176176
* @param {string} category name of the extension category
177-
* @returns {Array} extension definitions of that cataegory
177+
* @returns {Array} extension definitions of that category
178178
*/
179179
Bundle.prototype.getExtensions = function (category) {
180180
var extensions = this.definition.extensions[category] || [],

platform/persistence/couch/src/CouchDocument.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define(
2727
/**
2828
* A CouchDocument describes domain object model in a format
2929
* which is easily read-written to CouchDB. This includes
30-
* Couch's _id and _rev fields, as well as a sseparate
30+
* Couch's _id and _rev fields, as well as a separate
3131
* metadata field which contains a subset of information found
3232
* in the model itself (to support search optimization with
3333
* CouchDB views.)
@@ -37,7 +37,7 @@ define(
3737
* @param {object} model the model to store
3838
* @param {string} rev the revision to include (or undefined,
3939
* if no revision should be noted for couch)
40-
* @param {boolean} whether or not to mark this documnet as
40+
* @param {boolean} whether or not to mark this document as
4141
* deleted (see CouchDB docs for _deleted)
4242
*/
4343
function CouchDocument(id, model, rev, markDeleted) {

platform/persistence/couch/test/CouchIndicatorSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ define(
6969
initialDescrption = indicator.getDescription(),
7070
initialGlyphClass = indicator.getGlyphClass();
7171

72-
// Nominal just means getting back an objeect, without
72+
// Nominal just means getting back an object, without
7373
// an error field.
7474
mockPromise.then.mostRecentCall.args[0]({ data: {} });
7575

@@ -88,7 +88,7 @@ define(
8888
initialDescrption = indicator.getDescription(),
8989
initialGlyphClass = indicator.getGlyphClass();
9090

91-
// Nominal just means getting back an objeect, with
91+
// Nominal just means getting back an object, with
9292
// an error field.
9393
mockPromise.then.mostRecentCall.args[0](
9494
{ data: { error: "Uh oh." } }
@@ -110,7 +110,7 @@ define(
110110
initialDescrption = indicator.getDescription(),
111111
initialGlyphClass = indicator.getGlyphClass();
112112

113-
// Nominal just means getting back an objeect, without
113+
// Nominal just means getting back an object, without
114114
// an error field.
115115
mockPromise.then.mostRecentCall.args[1]({ data: {} });
116116

platform/persistence/elastic/src/ElasticSearchProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ define([
5151
* Search for domain objects using elasticsearch as a search provider.
5252
*
5353
* @param {String} searchTerm the term to search by.
54-
* @param {Number} [maxResults] the max numer of results to return.
54+
* @param {Number} [maxResults] the max number of results to return.
5555
* @returns {Promise} promise for a modelResults object.
5656
*/
5757
ElasticSearchProvider.prototype.query = function (searchTerm, maxResults) {

0 commit comments

Comments
 (0)