mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-24 02:27:37 +00:00
23 lines
442 B
TypeScript
23 lines
442 B
TypeScript
import MakiObject from "./MakiObject";
|
|
import System from "./System";
|
|
|
|
class JsScript extends MakiObject {
|
|
system: System | undefined;
|
|
|
|
/**
|
|
* getclassname()
|
|
*
|
|
* Returns the class name for the object.
|
|
* @ret The class name.
|
|
*/
|
|
getclassname() {
|
|
return "Script";
|
|
}
|
|
|
|
getScriptPath(): string | null {
|
|
const { file } = this.attributes;
|
|
return file == null ? null : String(file);
|
|
}
|
|
}
|
|
|
|
export default JsScript;
|