Initial commit

This commit is contained in:
2015-08-14 18:12:10 +08:00
parent f19f612fad
commit 4c93896df3
93 changed files with 4724 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
(function(){
var ns = __namespace( "System.Policy" );
/** @type {System.Global} */
var Global = __import( "System.Global" );
var isOriginAllowed = function( origin )
{
return -1 < Global.ALLOWED_ORIGINS.indexOf( origin );
};
ns[ NS_EXPORT ]( EX_FUNC, "isOriginAllowed", isOriginAllowed );
})();