Load scripts in RAW mode by default

On-the-fly compilation is a frustrating default.
This commit is contained in:
Tim Schaub
2013-06-28 10:07:02 -06:00
parent 82c791f9f5
commit 12338783cc
+2 -2
View File
@@ -8,7 +8,7 @@
* *
* * hostname - the current hostname (window.location.hostname) * * hostname - the current hostname (window.location.hostname)
* * port - 9810 * * port - 9810
* * mode - ADVANCED * * mode - RAW
* * id - id param in loader.js query string; defaults to 'ol' if not set * * id - id param in loader.js query string; defaults to 'ol' if not set
* *
* Usage: * Usage:
@@ -20,7 +20,7 @@
var params = { var params = {
hostname: window.location.hostname, hostname: window.location.hostname,
port: '9810', port: '9810',
mode: 'ADVANCED', mode: 'RAW',
id: 'ol' id: 'ol'
}; };
if (window.location.protocol === 'file:' && !params.hostname) { if (window.location.protocol === 'file:' && !params.hostname) {