diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-22 14:44:32 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-25 11:19:09 +0100 |
commit | 4f961f1f580bca602e1c4e8fffd906edb374d03d (patch) | |
tree | a80c4569a04d8133551160bb1e2013c5cfd30a9a /src | |
parent | 8d565f177135a780c9f6238b6376252d5517c53f (diff) |
builtins: Don't export Math, JSON, String
Those are properties of the JS global object. You cannot use them as
normal types.
Change-Id: I1f80e1be8f598cb102109fa2f685cd2b55ad6950
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/builtins/builtins.qmltypes | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/imports/builtins/builtins.qmltypes b/src/imports/builtins/builtins.qmltypes index d5279dcbdd..53c97e5b20 100644 --- a/src/imports/builtins/builtins.qmltypes +++ b/src/imports/builtins/builtins.qmltypes @@ -290,8 +290,6 @@ Module { Component { name: "Math" - exports: ["QML/Math 1.0"] - exportMetaObjectRevisions: [256] Property { name: "E" @@ -748,9 +746,6 @@ Module { Component { name: "JSON" - exports: ["QML/JSON 1.0"] - exportMetaObjectRevisions: [256] - isSingleton: true Method { name: "parse" @@ -793,9 +788,6 @@ Module { Component { name: "String" - exports: ["QML/String 1.0"] - exportMetaObjectRevisions: [256] - isSingleton: true prototype: "StringPrototype" Method { |