Typo corrections, I avoided making changes to words that have regional spelling differences.
This commit is contained in:
@@ -24,7 +24,7 @@ define([], function () {
|
||||
|
||||
/**
|
||||
* Provides a cache for domain object models which exist in memory,
|
||||
* but may or may not exist in backing persistene stores.
|
||||
* but may or may not exist in backing persistence stores.
|
||||
* @constructor
|
||||
* @memberof platform/core
|
||||
*/
|
||||
|
||||
@@ -42,7 +42,7 @@ define(
|
||||
* @implements {ModelService}
|
||||
* @param {Array} roots all `roots[]` extensions
|
||||
* @param $q Angular's $q, for promises
|
||||
* @param $log Anuglar's $log, for logging
|
||||
* @param $log Angular's $log, for logging
|
||||
*/
|
||||
function RootModelProvider(roots, $q, $log) {
|
||||
// Pull out identifiers to used as ROOT's
|
||||
|
||||
@@ -49,7 +49,7 @@ define(
|
||||
}
|
||||
}
|
||||
|
||||
// Prepoulate maps with models to make subsequent lookup faster.
|
||||
// Prepopulate maps with models to make subsequent lookup faster.
|
||||
models.forEach(addModelToMap);
|
||||
|
||||
this.modelMap = modelMap;
|
||||
|
||||
@@ -43,7 +43,7 @@ define(
|
||||
},
|
||||
ARRAY_SUFFIX = '[]';
|
||||
|
||||
// Utility function to handle arrays of conversiions
|
||||
// Utility function to handle arrays of conversions
|
||||
function ArrayConversion(conversion) {
|
||||
return {
|
||||
toModelValue: function (formValue) {
|
||||
|
||||
@@ -68,7 +68,7 @@ define(
|
||||
}) : array;
|
||||
}
|
||||
|
||||
// Reduce an array of type definitions to a single type definiton,
|
||||
// Reduce an array of type definitions to a single type definition,
|
||||
// which has merged all properties in order.
|
||||
function collapse(typeDefs) {
|
||||
var collapsed = typeDefs.reduce(function (a, b) {
|
||||
|
||||
Reference in New Issue
Block a user