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-26 10:42:23 -0800
commit045392938b95843808cb36999407d10f75917ea6 (patch)
tree2313612a88c96d789f14ab97025377c994e4e282
parent65bab30384577c9aac88fb7b34f8877a95d86704 (diff)
downloadqtlocation-mapboxgl-045392938b95843808cb36999407d10f75917ea6.tar.gz
[ios] Fixed syntax error in style author guide
-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` | |