diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2019-06-03 15:34:13 +0300 |
---|---|---|
committer | Juha Alanen <19551460+jmalanen@users.noreply.github.com> | 2019-06-27 15:51:22 +0300 |
commit | 0ca8ea6f169149cd414a65f40d0f7bdd40f3cca3 (patch) | |
tree | db6a58892dd6326b8ba22da7fc822d008bdda01a /platform/node | |
parent | 81ea5d020efd0257083bf323644a575f5ea800c9 (diff) | |
download | qtlocation-mapboxgl-0ca8ea6f169149cd414a65f40d0f7bdd40f3cca3.tar.gz |
[core] Add number-format expression
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/src/node_expression.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/node/src/node_expression.cpp b/platform/node/src/node_expression.cpp index 4ea66124f8..041f60d029 100644 --- a/platform/node/src/node_expression.cpp +++ b/platform/node/src/node_expression.cpp @@ -42,7 +42,8 @@ type::Type parseType(v8::Local<v8::Object> type) { {"object", type::Object}, {"color", type::Color}, {"value", type::Value}, - {"formatted", type::Formatted} + {"formatted", type::Formatted}, + {"number-format", type::String} }; v8::Local<v8::Value> v8kind = Nan::Get(type, Nan::New("kind").ToLocalChecked()).ToLocalChecked(); |