<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Shared Scripts not working]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/62/shared-modules-ability-to-share-code-between-cloud-scripts">Shared Modules - Ability to share code between cloud scripts</a><br />
I am using</p>
<pre><code>"use strict";
bridge.include("external_script_name.ccjs");
</code></pre>
<p dir="auto">But when I try to use it, the web editor gives me an error<br />
'external_function_name' is not defined.<br />
I know the external function is all good. The error goes away, when I copy it locally.</p>
]]></description><link>https://forums.getbraincloud.com/topic/103/shared-scripts-not-working</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 15:56:17 GMT</lastBuildDate><atom:link href="https://forums.getbraincloud.com/topic/103.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2020 21:57:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shared Scripts not working on Fri, 17 Jul 2020 19:34:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jasonl" aria-label="Profile: JasonL">@<bdi>JasonL</bdi></a><br />
I can confirm they are working despite a warning, in strict mode.<br />
Thanks!</p>
]]></description><link>https://forums.getbraincloud.com/post/332</link><guid isPermaLink="true">https://forums.getbraincloud.com/post/332</guid><dc:creator><![CDATA[Carson Herrick]]></dc:creator><pubDate>Fri, 17 Jul 2020 19:34:06 GMT</pubDate></item><item><title><![CDATA[Reply to Shared Scripts not working on Fri, 17 Jul 2020 13:23:56 GMT]]></title><description><![CDATA[<p dir="auto">I copied your scripts to my app, tested, it works without any problem.</p>
<p dir="auto">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".</p>
]]></description><link>https://forums.getbraincloud.com/post/331</link><guid isPermaLink="true">https://forums.getbraincloud.com/post/331</guid><dc:creator><![CDATA[JasonL]]></dc:creator><pubDate>Fri, 17 Jul 2020 13:23:56 GMT</pubDate></item></channel></rss>