Re: Shared Modules - Ability to share code between cloud scripts
I am using
"use strict"; bridge.include("external_script_name.ccjs");
But when I try to use it, the web editor gives me an error
'external_function_name' is not defined.
I know the external function is all good. The error goes away, when I copy it locally.
I copied your scripts to my app, tested, it works without any problem.
So, I guess you see the "getPremadeDeck_Dark_001 is not defined" from the editor warning when you hover over your cursor to the triangle warning icon? Actually, You can just ignore it or comment out the "use strict".