@@ -26,7 +26,7 @@ export interface IParsedScopeName {
2626}
2727
2828/**
29- * A loader for locating the IDocItem associated with a given project and API item, or
29+ * A loader for locating the IDocItem associated with a given project and API item, or
3030 * for locating an ApiItem locally.
3131 * No processing on the IDocItem orApiItem should be done in this class, this class is only
3232 * concerned with communicating state.
@@ -58,11 +58,11 @@ export default class DocItemLoader {
5858 apiPackage : ApiPackage ,
5959 reportError : ( message : string ) => void ) : ResolvedApiItem {
6060
61- // If there is a packageName then there must be a scopeName, and they
61+ // If there is a packageName then there must be a scopeName, and they
6262 // both must match the current scope and package we are in.
6363 // We can take advantage of '&&' being evaluated left to right.
6464 if ( ! apiDefinitionRef . packageName && ! apiDefinitionRef . scopeName ) {
65- // Resolution for local references
65+ // Resolution for local references
6666 return this . resolveLocalReferences ( apiDefinitionRef , apiPackage , reportError ) ;
6767 } else {
6868 // Resolution for references in JSON files
@@ -71,7 +71,7 @@ export default class DocItemLoader {
7171 }
7272
7373 /**
74- * Resolution of API definition references in the scenario that the reference given indicates
74+ * Resolution of API definition references in the scenario that the reference given indicates
7575 * that we should search within the current ApiPackage to resolve.
7676 * No processing on the ApiItem should be done here, this class is only concerned
7777 * with communicating state.
@@ -111,9 +111,9 @@ export default class DocItemLoader {
111111 }
112112
113113 /**
114- * Resolution of API definition references in the scenario that the reference given indicates
114+ * Resolution of API definition references in the scenario that the reference given indicates
115115 * that we should search outside of this ApiPackage and instead search within the JSON API file
116- * that is associated with the apiDefinitionRef.
116+ * that is associated with the apiDefinitionRef.
117117 */
118118 public resolveJsonReferences ( apiDefinitionRef : ApiDefinitionReference ,
119119 reportError : ( message : string ) => void ) : ResolvedApiItem {
@@ -125,7 +125,7 @@ export default class DocItemLoader {
125125 return undefined ;
126126 }
127127
128- // found JSON package, now ensure export name is there
128+ // found JSON package, now ensure export name is there
129129 // hasOwnProperty() not needed for JJU objects
130130 if ( ! ( apiDefinitionRef . exportName in docPackage . exports ) ) {
131131 reportError ( `Unable to find referenced export \"${ apiDefinitionRef . toExportString ( ) } \""` ) ;
@@ -210,7 +210,7 @@ export default class DocItemLoader {
210210 }
211211
212212 /**
213- * Loads the API documentation json file and validates that it conforms to our schema. If it does,
213+ * Loads the API documentation json file and validates that it conforms to our schema. If it does,
214214 * then the json file is saved in the cache and returned.
215215 */
216216 public loadPackageIntoCache ( packageJsonFilePath : string ) : IDocPackage {
0 commit comments