Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 41bb9d8

Browse files
committed
Fixing comment typos
1 parent 079aa46 commit 41bb9d8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CodePush.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
@interface CodePush : NSObject <RCTBridgeModule>
44

55
/*
6-
* This method is used to retreive the URL for the most recent
6+
* This method is used to retrieve the URL for the most recent
77
* version of the JavaScript bundle. This could be either the
88
* bundle that was packaged with the app binary, or the bundle
99
* that was downloaded as part of a CodePush update. The value returned
1010
* should be used to "bootstrap" the React Native bridge.
1111
*
1212
* This method assumes that your JS bundle is named "main.jsbundle"
1313
* and therefore, if it isn't, you should use either the bundleURLForResource:
14-
* or bundleURLForResource:withExtension: methods to override thsat behavior.
14+
* or bundleURLForResource:withExtension: methods to override that behavior.
1515
*/
1616
+ (NSURL *)bundleURL;
1717

CodePush.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ + (NSString *)getDocumentsDirectory
7373
/*
7474
* This method cancels the currently running rollback
7575
* timer, which has the effect of stopping an automatic
76-
* rollback from occuring.
76+
* rollback from occurring.
7777
*
7878
* Note: This method is safe to call from any thread.
7979
*/
@@ -85,9 +85,9 @@ - (void)cancelRollbackTimer
8585
}
8686

8787
/*
88-
* This method checks to see whether a "pending udpate" has been applied
88+
* This method checks to see whether a "pending update" has been applied
8989
* (e.g. install was called with a non-immediate mode), but the app hasn't
90-
* yet been restarted (either naturally or synthentically). If there is one,
90+
* yet been restarted (either naturally or programmatically). If there is one,
9191
* it will restart the app (if specified), and start the rollback timer.
9292
*
9393
* Note: This method is safe to call from any thread.
@@ -179,8 +179,8 @@ - (instancetype)init
179179
}
180180

181181
/*
182-
* This method performs the actual initialization work for a update
183-
* to ensure that the neccessary state is setup, including:
182+
* This method performs the actual initialization work for an update
183+
* to ensure that the necessary state is setup, including:
184184
* --------------------------------------------------------
185185
* 1. Updating the current bundle URL to point at the latest update on disk
186186
* 2. Optionally restarting the app to load the new bundle

0 commit comments

Comments
 (0)