mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user