UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

25 lines (23 loc) 388 B
/** * type reference * * Not visible to jass. */ export default class JassReference { /** * @param {string} name * @param {*} object */ constructor(name, object) { /** @member {string} */ this.name = name; /** @member {*} */ this.object = object; } /** * @return {string} */ toString() { return this.name || this.object.toString(); } }