Dojo accessing variable from external Javascript file

I am migrating to Dojo 10.4, before I have few customized javascript files which are modified by running dojo amd converter. But after migrating I cannot able to access variables in js files.

I have declared like this in a file called abc:

], function (dojo, declare, lang, on, request, FilteringSelect) {
var VARIABLE= {};

Now I am using this js file in jsp file by integrating with <script>command.

the main problem is, how can I access the var VARIABLE in the jsp file.

I have tried with require, provide etc..but still cannot access the declared variable.

Source: jsp

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.