mirror of
https://github.com/xevidos/codiad.git
synced 2025-01-03 11:42:12 +01:00
22 lines
392 B
JavaScript
22 lines
392 B
JavaScript
( function( global, $ ) {
|
|
|
|
// Define core
|
|
let codiad = global.codiad,
|
|
scripts = document.getElementsByTagName( 'script' ),
|
|
path = scripts[scripts.length-1].src.split( '?' )[0],
|
|
curpath = path.split( '/' ).slice( 0, -1 ).join( '/' ) + '/';
|
|
|
|
$( function() {
|
|
|
|
codiad.admin.init();
|
|
});
|
|
|
|
codiad.admin = {
|
|
|
|
path: curpath,
|
|
|
|
init: function() {
|
|
|
|
},
|
|
};
|
|
})( this, jQuery );
|