Load scripts in RAW mode by default
On-the-fly compilation is a frustrating default.
This commit is contained in:
+2
-2
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user