Skip to content

SpcFORK/Allchemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asrı

Asri

Using Asrı

It's very simple,

Every page with runner.js loads a script which loads the page locations entry file in app/.

Make a class that assigns to the global scope variable named either Page, Main or Load.

Now, you should be able to run!!

window.Main = class Main {

  static PageTitle = 'Main';

  /*
    This class automatically inherits:
      - The entry element,
      - The page pathname,
      - The file location.

    this.entry, this.path, this.entryPath,
  */

  static preload() {

  }

  constructor(entry) {
    entry
  }

}

About

A mod for Allchemy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages