templateConfig.js missing from Basic Viewer template?

593
2
04-09-2013 09:33 AM
JoanSteinbacher
New Contributor III
Hi,

I downloaded the Basic Viewer template and it is referencing a file called "templateConfig.js" that does not exist in the main folder or any subfolders.

The reference in the index.html file is:
    <script type="text/javascript" src="../../templateConfig.js"></script>

What is this file for and why is it not included in the download? Can I just comment it out?

Thanks,
Joan
0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor
templateConfig.js isn't used by the download version of the template so the script tag loading that file should have been removed. You can delete that line from the template.


    <script type="text/javascript" src="../../templateConfig.js"></script>
0 Kudos
JoanSteinbacher
New Contributor III
Thank you -- just wanted to check before doing so!
0 Kudos