Added Startup IIFE to take care of the creation of a new project

It includes the old _createButton and _newPixel functions and a few private methods to divide the huge newPixel function into smaller chunks depending on their purpose. Those chunks could probably be part of other IIFEs, but we'll think about that in the future.
Fixed Input bug that caused the on function to pass an array of arguments instead of single arguments. Removed data_asdfgasd.hbs
This commit is contained in:
unsettledgames
2021-07-15 18:33:19 +02:00
parent 7c80e8f342
commit dcf896954f
11 changed files with 281 additions and 273 deletions

View File

@ -15,13 +15,12 @@
//=include _settings.js
/**dropdown formatting**/
//=include _presets.js
//=include PresetModule.js
//=include _palettes.js
/**functions**/
//=include _tools.js
//=include tools/*.js
//=include _newPixel.js
//=include _createColorPalette.js
//=include _changeZoom.js
//=include ColorModule.js
@ -51,11 +50,11 @@
/**buttons**/
//=include _toolButtons.js
//=include _fileMenu.js
//=include _createButton.js
//=include _rectSelect.js
//=include _move.js
//=include _rectangle.js
//=include _ellipse.js
//=include Startup.js
/**onload**/
//=include _onLoad.js