Skip to content

Commit

Permalink
fix(ios): renamed exported example iOS constant to be consistent with…
Browse files Browse the repository at this point in the history
… other templates
  • Loading branch information
poppiestar committed Feb 18, 2018
1 parent 04fd6fe commit 842db79
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions __tests__/__snapshots__/ios-objc.test.js.snap
Expand Up @@ -53,7 +53,7 @@ RCT_EXPORT_MODULE();
- (NSDictionary *)constantsToExport
{
return @{
@\\"EXAMPLE\\": @\\"example\\"
@\\"EXAMPLE_CONSTANT\\": @\\"example\\"
};
}
Expand Down Expand Up @@ -145,7 +145,7 @@ RCT_EXPORT_MODULE();
- (NSDictionary *)constantsToExport
{
return @{
@\\"EXAMPLE\\": @\\"example\\"
@\\"EXAMPLE_CONSTANT\\": @\\"example\\"
};
}
Expand Down Expand Up @@ -285,7 +285,7 @@ RCT_EXPORT_VIEW_PROPERTY(exampleProp, NSString)
- (NSDictionary *)constantsToExport
{
return @{
@\\"EXAMPLE\\": @\\"example\\"
@\\"EXAMPLE_CONSTANT\\": @\\"example\\"
};
}
Expand Down
2 changes: 1 addition & 1 deletion templates/combined/ios-objc/TemplateManager.m
Expand Up @@ -32,7 +32,7 @@ @implementation {{template}}
- (NSDictionary *)constantsToExport
{
return @{
@"EXAMPLE": @"example"
@"EXAMPLE_CONSTANT": @"example"
};
}

Expand Down
2 changes: 1 addition & 1 deletion templates/modules/ios-objc/Template.m
Expand Up @@ -32,7 +32,7 @@ @implementation {{template}}
- (NSDictionary *)constantsToExport
{
return @{
@"EXAMPLE": @"example"
@"EXAMPLE_CONSTANT": @"example"
};
}

Expand Down
2 changes: 1 addition & 1 deletion templates/ui-components/ios-objc/TemplateManager.m
Expand Up @@ -34,7 +34,7 @@ - (UIView *)view
- (NSDictionary *)constantsToExport
{
return @{
@"EXAMPLE": @"example"
@"EXAMPLE_CONSTANT": @"example"
};
}

Expand Down

0 comments on commit 842db79

Please sign in to comment.