Skip to content

Commit 255c87c

Browse files
author
Elias James Howell
authored
fix typos and spelling errors (#2195)
1 parent 9fe6440 commit 255c87c

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

js/HipObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// and callback functions for displaying items outside the control.
33

44
//-------------------------------------------------------------------------------------------------
5-
// The following varible name is defined by partner
5+
// The following variable name is defined by partner
66
// Make sure it has no conflicts to any other your variable names.
77
// The name defined here influence how to generate get hip URL that has format "http://p.client.hip.live.com/GetHIP/GetWLSPHIP0/<the namedefined here>?".
88
// Replace '< >' there with the name here.

src/bindingHandlers/fastForeach.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ FastForEach.prototype.getPendingDeleteFor = function (data) {
320320
return this.pendingDeletes[index];
321321
};
322322

323-
// tries to find the existing pending delete info for this data item, and if it can't, it registeres one
323+
// tries to find the existing pending delete info for this data item, and if it can't, it registers one
324324
FastForEach.prototype.getOrCreatePendingDeleteFor = function (data) {
325325
let pd = this.getPendingDeleteFor(data);
326326
if (pd) {

src/components/apis/details-of-api/detailsOfApiContract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { HyperlinkContract } from "@paperbits/common/editing";
33

44
export interface DetailsOfApiContract extends Contract {
55
/**
6-
* Link to a page that contains API changlog.
6+
* Link to a page that contains API changelog.
77
*/
88
changeLogPageHyperlink?: HyperlinkContract;
99
}

src/components/help/hint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Entity describing the issue and its potential soultion.
2+
* Entity describing the issue and its potential solution.
33
*/
44
export interface Hint {
55
/**
@@ -8,7 +8,7 @@ export interface Hint {
88
issue: string;
99

1010
/**
11-
* Free text explaning what can be done to resolve this issue.
11+
* Free text explaining what can be done to resolve this issue.
1212
*/
1313
suggestion: string;
1414
}

src/components/reports/ko/runtime/reportRecordByOperationViewModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as ko from "knockout";
55
*/
66
export class ReportRecordByOperationViewModel {
77
/**
8-
* Operaion identifier, e.g. "/apis/httpbin/operations/get".
8+
* Operation identifier, e.g. "/apis/httpbin/operations/get".
99
*/
1010
public operationId: ko.Observable<string>;
1111

src/components/reports/ko/runtime/reports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export class Reports {
455455
this.reportByCallsGeo(chartConfigCallsGeo);
456456

457457

458-
/* Bandwith */
458+
/* Bandwidth */
459459
const recordsBandwidth: BarChartRecord[] = reportsByTime.value.map(x => {
460460
return {
461461
timestamp: new Date(x.timestamp),

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const reservedPermalinks = [
102102
];
103103

104104
/**
105-
* Maximum number of items to request from Managament API.
105+
* Maximum number of items to request from Management API.
106106
*/
107107
export const defaultPageSize = 50;
108108

src/services/apiService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export class ApiService {
248248

249249
/**
250250
* Returns API with specified ID and revision.
251-
* @param apiId Unique API indentifier.
251+
* @param apiId Unique API identifier.
252252
* @param revision
253253
*/
254254
public async getApi(apiId: string, revision?: string): Promise<Api> {
@@ -399,7 +399,7 @@ export class ApiService {
399399
}
400400

401401
/**
402-
* Returns API schema with sepcified identifier.
402+
* Returns API schema with specified identifier.
403403
* @param schemaId {string} ARM-formatted schema identifier.
404404
*/
405405
public async getApiSchema(schemaId: string): Promise<Schema> {

src/services/provisioningService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class ProvisionService {
3030
const accessToken = await this.authenticator.getAccessTokenAsString();
3131

3232
if (!accessToken) {
33-
this.viewManager.notifyError(`Unable to setup website`, `Management API access token is empty or invald.`);
33+
this.viewManager.notifyError(`Unable to setup website`, `Management API access token is empty or invalid.`);
3434
}
3535

3636
for (const key of keys) {

src/startup.publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ injector.resolve("autostart");
4747
/* Allowing self-signed certificates for HTTP requests */
4848
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = "0";
4949

50-
/* Bulding dependency injection container */
50+
/* Building dependency injection container */
5151
const publisher = injector.resolve<IPublisher>("sitePublisher");
5252

5353
/* Running actual publishing */

0 commit comments

Comments
 (0)