Skip to content

Commit

Permalink
Merge pull request #141 from joenoon/patch-2
Browse files Browse the repository at this point in the history
alternative way to set property
  • Loading branch information
lostintangent committed Jan 9, 2016
2 parents 4b7e624 + 8dc41fa commit 75f2ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CodePush.m
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ - (void)loadBundle
// file (since Chrome wouldn't support it). Otherwise, update
// the current bundle URL to point at the latest update
if ([CodePush isUsingTestConfiguration] || ![_bridge.bundleURL.scheme hasPrefix:@"http"]) {
_bridge.bundleURL = [CodePush bundleURL];
[_bridge setValue:[CodePush bundleURL] forKey:@"bundleURL"];
}

[_bridge reload];
Expand Down Expand Up @@ -492,4 +492,4 @@ - (void)savePendingUpdate:(NSString *)packageHash
}
}

@end
@end

0 comments on commit 75f2ed1

Please sign in to comment.