Skip to content

Commit

Permalink
* [ios] fix variable name spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
acton393 committed Jan 10, 2017
1 parent e859782 commit becd631
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ - (void)renderFinish

- (void)notifyRenderFinish
{
if (self.weexInstance.trackCompoent) {
if (self.weexInstance.trackComponent) {
[self renderFinish];
}
}
Expand Down
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Display/WXComponent+Display.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ - (WXDisplayBlock)displayBlock
- (WXDisplayCompeletionBlock)displayCompeletionBlock
{
return ^(CALayer *layer, BOOL finished) {
if (self.weexInstance.trackCompoent) {
if (self.weexInstance.trackComponent) {
[self renderFinish];
}
};
Expand Down
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ typedef NS_ENUM(NSInteger, WXErrorCode) {//error.code
/**
* track component render
*/
@property (nonatomic, assign)BOOL trackCompoent;
@property (nonatomic, assign)BOOL trackComponent;
/**
* Renders weex view with bundle url.
*
Expand Down
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ - (instancetype)init
_styleConfigs = [NSMutableDictionary new];
_attrConfigs = [NSMutableDictionary new];
_moduleEventObservers = [WXThreadSafeMutableDictionary new];
_trackCompoent = NO;
_trackComponent = NO;

[self addObservers];
}
Expand Down

0 comments on commit becd631

Please # to comment.