File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 125
125
var common = function ( debug , version ) {
126
126
// XXX technically, this is not the same thing as HTML cond includes...
127
127
// So, this may or may not be a good idea...
128
- if ( false /*@cc_on || @_jscript_version <= 8 @*/ ) {
128
+ var isIe = eval ( "/*@cc_on @_jscript_version <= 8 && !@*/false" ) ;
129
+ if ( isIe ) {
129
130
bootLoader . use ( 'ie7' , '2.1' ) ;
130
131
bootLoader . wait ( ) ;
131
132
}
136
137
bootLoader . wait ( ) ;
137
138
bootLoader . use ( bootLoader . MINGUS , null , null , debug ) ;
138
139
// Stacktrace should be in core prolly
139
- bootLoader . use ( 'stacktrace' , version || '0.4 ' , null , debug ) ;
140
+ bootLoader . use ( 'stacktrace' , version || 'stable ' , null , debug ) ;
140
141
bootLoader . wait ( ) ;
141
142
bootLoader . use ( bootLoader . CORE , null , null , debug ) ;
142
143
bootLoader . wait ( ) ;
143
- if ( debug )
144
+ if ( debug ) {
145
+ // And so console
146
+ bootLoader . use ( 'console' , version || 'stable' , null , debug ) ;
144
147
bootLoader . use ( bootLoader . DEBUG , null , null , debug ) ;
148
+ }
145
149
// XXX is a separate stack obviously
146
150
// bootLoader.use(bootLoader.UI);
147
151
} ;
You can’t perform that action at this time.
0 commit comments