| import Utils from "/app/js/Utils.js"; | |||||
| import GlobalEvents from "/app/js/EventCaller.js"; | |||||
| import Utils from "/app/js/common/Utils.js"; | |||||
| import GlobalEvents from "/app/js/common/EventCaller.js"; | |||||
| const EL_CANVAS_ID = "painter"; | const EL_CANVAS_ID = "painter"; | ||||
| import GlobalEvents from "/app/js/EventCaller.js"; | |||||
| import {NESPalette} from "/app/js/NESPalette.js"; | |||||
| import GlobalEvents from "/app/js/common/EventCaller.js"; | |||||
| import {NESPalette} from "/app/js/models/NESPalette.js"; | |||||
| const ATTRIB_NESIDX = "nesidx"; | const ATTRIB_NESIDX = "nesidx"; | ||||
| // The two attributes below MUST BOTH be in the element. | // The two attributes below MUST BOTH be in the element. |
| import GlobalEvents from "/app/js/EventCaller.js"; | |||||
| import GlobalEvents from "/app/js/common/EventCaller.js"; | |||||
| import EmitterElements from "/app/js/ui/Emitters.js"; | import EmitterElements from "/app/js/ui/Emitters.js"; | ||||
| import Modal from "/app/js/ui/Modal.js"; | import Modal from "/app/js/ui/Modal.js"; | ||||
| import CTRLPalettes from "/app/js/ui/CTRLPalettes.js"; | |||||
| import CTRLPainter from "/app/js/ui/CTRLPainter.js"; | |||||
| import CTRLPalettes from "/app/js/ctrls/CTRLPalettes.js"; | |||||
| import CTRLPainter from "/app/js/ctrls/CTRLPainter.js"; | |||||
| //import {NESPainter} from "/app/js/NESPainter.js"; | //import {NESPainter} from "/app/js/NESPainter.js"; | ||||
| import {NESPalette} from "/app/js/NESPalette.js"; | |||||
| import {NESPalette} from "/app/js/models/NESPalette.js"; | |||||
| function on_palette_changed(e){ | function on_palette_changed(e){ | ||||
| if (e.type == "ALL"){ | if (e.type == "ALL"){ |
| import {EventCaller} from "/app/js/EventCaller.js" | |||||
| import {EventCaller} from "/app/js/common/EventCaller.js" | |||||
| /** | /** | ||||
| * Object for manipulating the eight NES palettes. | * Object for manipulating the eight NES palettes. |
| import GlobalEvents from "/app/js/EventCaller.js"; | |||||
| import GlobalEvents from "/app/js/common/EventCaller.js"; | |||||
| function handle_emitter(event){ | function handle_emitter(event){ |
| import GlobalEvents from "/app/js/EventCaller.js"; | |||||
| import GlobalEvents from "/app/js/common/EventCaller.js"; | |||||
| class Modal{ | class Modal{ |