forked from Botanical/BotanJS
17 lines
426 B
JavaScript
17 lines
426 B
JavaScript
|
(function(){
|
||
|
var ns = __namespace( "System.Global" );
|
||
|
|
||
|
var debug = function()
|
||
|
{
|
||
|
return window[ "debugEnv" ] && window[ "debugEnv" ];
|
||
|
};
|
||
|
|
||
|
// for IE < 10
|
||
|
var IE = Boolean( document[ "all" ] );
|
||
|
var ALLOWED_ORIGINS = window[ "allowed_origins" ] || [];
|
||
|
|
||
|
ns[ NS_EXPORT ]( EX_READONLY_GETTER, "debug", debug );
|
||
|
ns[ NS_EXPORT ]( EX_CONST, "IE", IE );
|
||
|
ns[ NS_EXPORT ]( EX_CONST, "ALLOWED_ORIGINS", ALLOWED_ORIGINS );
|
||
|
})();
|