The production loader has special logic for advanced and raw modes
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
select = document.createElement('select'),
|
select = document.createElement('select'),
|
||||||
possibleModes = {
|
possibleModes = {
|
||||||
'raw' : 'Development',
|
'raw' : 'Development',
|
||||||
'compiled': 'Production'
|
'advanced': 'Production'
|
||||||
},
|
},
|
||||||
urlMode = window.location.href.match(/mode=([a-z0-9\-]+)\&?/i),
|
urlMode = window.location.href.match(/mode=([a-z0-9\-]+)\&?/i),
|
||||||
curMode = urlMode ? urlMode[1] : 'compiled',
|
curMode = urlMode ? urlMode[1] : 'advanced',
|
||||||
option,
|
option,
|
||||||
modeIdx,
|
modeIdx,
|
||||||
mode,
|
mode,
|
||||||
|
|||||||
Reference in New Issue
Block a user