Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* v1.2 https://pastebin.com/9T62rWuG
- Help: https://awwshop.github.io/project/shared/script/library/global/global-ext-js/1.2
- License: Public Domain
- */
- var Global = new function () {
- this.AddAsset = function ( TypeIn, PathIn ) {
- if ( TypeIn == 'style' ) {
- document.write( '<style> @import url(' + PathIn + '); </style>' );
- } else if ( TypeIn == 'script' ) {
- document.write( '<script src="' + PathIn + '"></script>' );
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement