Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
5.5.0, 5.5.1, 5.7, 6.6
-
None
Description
while importing module like
import MyModule 1.0 as Lol
Qml components are available only by Lol namespace. But javascript files are available with namespace prefix and without it.
Thus bug shows up when I defined my custom Math.js file, and tried to import it within namespace.
Then any reference to global Math functions results with
TypeError: Property 'any_Math_function' of object [object Object] is not a function