summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2018-01-25 23:02:07 -0800
committerMinh Nguyễn <mxn@1ec5.org>2018-01-25 23:02:07 -0800
commit056960cd1f8f7ad903df38019444afcf99ea17bf (patch)
treecedcc50bcb72b7eaab0e87e2f09bbe5eedd46771
parentecaf9b5b33efdbb2aaa7d88c3650edc9686a19e5 (diff)
downloadqtlocation-mapboxgl-upstream/1ec5-props-range-10128.tar.gz
[ios] Fixed syntax error in style author guideupstream/1ec5-props-range-10128
-rw-r--r--platform/darwin/docs/guides/For Style Authors.md.ejs2
-rw-r--r--platform/ios/docs/guides/For Style Authors.md1
2 files changed, 1 insertions, 2 deletions
diff --git a/platform/darwin/docs/guides/For Style Authors.md.ejs b/platform/darwin/docs/guides/For Style Authors.md.ejs
index 3f6c3fc2a4..fc259e4da3 100644
--- a/platform/darwin/docs/guides/For Style Authors.md.ejs
+++ b/platform/darwin/docs/guides/For Style Authors.md.ejs
@@ -359,7 +359,7 @@ In style specification | Method, function, or predicate type | Format string syn
<% if (macOS) { -%>
`rgb` | `+[NSColor colorWithCalibratedRed:green:blue:alpha:]` |
`rgba` | `+[NSColor colorWithCalibratedRed:green:blue:alpha:]` |
-<% } else { %>
+<% } else { -%>
`rgb` | `+[UIColor colorWithRed:green:blue:alpha:]` |
`rgba` | `+[UIColor colorWithRed:green:blue:alpha:]` |
<% } -%>
diff --git a/platform/ios/docs/guides/For Style Authors.md b/platform/ios/docs/guides/For Style Authors.md
index 51cd87a766..8db1bd3310 100644
--- a/platform/ios/docs/guides/For Style Authors.md
+++ b/platform/ios/docs/guides/For Style Authors.md
@@ -345,7 +345,6 @@ In style specification | Method, function, or predicate type | Format string syn
`concat` | `stringByAppendingString:` |
`downcase` | `lowercase:` | `lowercase('DOWNTOWN')`
`upcase` | `uppercase:` | `uppercase('Elysian Fields')`
-
`rgb` | `+[UIColor colorWithRed:green:blue:alpha:]` |
`rgba` | `+[UIColor colorWithRed:green:blue:alpha:]` |
`to-rgba` | |