Loading public/javascript/app/redmicConfig.js +1 −1 Original line number Diff line number Diff line Loading @@ -578,7 +578,7 @@ define([], function() { var variableValue; try { variableValue = eval(variableName); variableValue = window[variableName]; } catch(e) { console.warn('Tried to get undefined global variable "%s"', variableName); variableValue = ''; Loading views/layout.pug +6 −5 Original line number Diff line number Diff line Loading @@ -9,16 +9,17 @@ html meta(name = 'robots' content = 'index, follow') script. let lang = '#{env.lang}', var lang = '#{env.lang}', envApiUrl = '#{env.apiUrl}', envProduction = '#{env.production}', envVersion = '#{env.version}', envDebug = '#{env.debug}'; - let esLocale = 'es_ES', enLocale = 'en_GB', locale, altLocale1; const esLocale = 'es_ES', enLocale = 'en_GB'; let locale, altLocale1; if (env.lang === 'es') { locale = esLocale; Loading @@ -28,7 +29,7 @@ html altLocale1 = esLocale; } let basePath = '/' + (env.useBuilt ? 'dist' : 'public'), const basePath = '/' + (env.useBuilt ? 'dist' : 'public'), jsPath = basePath + '/javascript/'; meta(name = 'og:locale' content = locale) Loading Loading
public/javascript/app/redmicConfig.js +1 −1 Original line number Diff line number Diff line Loading @@ -578,7 +578,7 @@ define([], function() { var variableValue; try { variableValue = eval(variableName); variableValue = window[variableName]; } catch(e) { console.warn('Tried to get undefined global variable "%s"', variableName); variableValue = ''; Loading
views/layout.pug +6 −5 Original line number Diff line number Diff line Loading @@ -9,16 +9,17 @@ html meta(name = 'robots' content = 'index, follow') script. let lang = '#{env.lang}', var lang = '#{env.lang}', envApiUrl = '#{env.apiUrl}', envProduction = '#{env.production}', envVersion = '#{env.version}', envDebug = '#{env.debug}'; - let esLocale = 'es_ES', enLocale = 'en_GB', locale, altLocale1; const esLocale = 'es_ES', enLocale = 'en_GB'; let locale, altLocale1; if (env.lang === 'es') { locale = esLocale; Loading @@ -28,7 +29,7 @@ html altLocale1 = esLocale; } let basePath = '/' + (env.useBuilt ? 'dist' : 'public'), const basePath = '/' + (env.useBuilt ? 'dist' : 'public'), jsPath = basePath + '/javascript/'; meta(name = 'og:locale' content = locale) Loading