-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scriptconsole components. Clean up atlasmaker a bit
- Loading branch information
Showing
41 changed files
with
30 additions
and
1,233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -332,23 +332,15 @@ var me = { | |
me._createOffscreenCanvases(); | ||
me._createOnscreenCanvases(elem); | ||
|
||
// load tools | ||
me.loadTools(); | ||
|
||
// event connect: Configure mouse events for desktop computers | ||
// (touch events are configured in the initCursor function) | ||
me.canvas.onmousedown = me.mousedown; | ||
me.canvas.onmousemove = me.mousemove; | ||
me.canvas.onmouseup = me.mouseup; | ||
|
||
|
||
// text input | ||
Promise.all([ | ||
me.loadScript('https://unpkg.com/codeflask/build/codeflask.min.js'), | ||
me.loadScript('https://cdn.jsdelivr.net/gh/r03ert0/[email protected]/consolita.js') | ||
]).then(() => { | ||
window.onload = () => { | ||
Consolita.init('#logScript'); | ||
}; | ||
}); | ||
|
||
// long-press event | ||
me.loadScript('https://cdn.jsdelivr.net/gh/john-doherty/[email protected]/dist/long-press-event.min.js') | ||
.then(() => { | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.