diff --git a/tools/build.py b/tools/build.py index 70955b9..cecca1d 100644 --- a/tools/build.py +++ b/tools/build.py @@ -27,6 +27,7 @@ def BuildWebSite (rootFolder, resultFolder, extensions): shutil.copytree (os.path.join (rootFolder, 'jsmodeler'), os.path.join (targetFolder, 'jsmodeler')) indexFilePath = os.path.join (targetFolder, 'index.html') importerAppFilePath = os.path.join (targetFolder, 'include', 'importerapp.js') + ReplaceInFile (indexFilePath, 'var useAnalytics = false;', 'var useAnalytics = true;') ReplaceInFile (indexFilePath, '../jsmodeler/', 'jsmodeler/') extensionIncludes = '' for extension in extensions: diff --git a/website/index.html b/website/index.html index 384369b..4c26d6c 100644 --- a/website/index.html +++ b/website/index.html @@ -26,13 +26,16 @@