mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
6e1ce724cb
- fix : removed duplicated code between ImageResizer and CanvasUtils (disabledImageSmoothing utility method) - added pskl.utils.UserAgent, basic user agent sniffer. I need it to sniff out IE10 for frame rendering (and it's not possible to feature detect here). Can check isChrome, isFirefox, isIE and get the version for each of them - added resizeNearestNeighbour in ImageResizer. Readapted from piskel website, this allows us to 1 - resize without AA on IE10, and 2 - add a pixel gap to reenable the GRID - finally : added back support for GRID ! - also extracted the 'zoomed out background color' as a constant in Constant.js
92 lines
2.7 KiB
JavaScript
92 lines
2.7 KiB
JavaScript
// This list is used both by the grunt build and index.html (in debug mode)
|
|
|
|
exports.scripts = [
|
|
// Core libraries
|
|
"js/lib/jquery-1.8.0.js","js/lib/jquery-ui-1.10.3.custom.js","js/lib/pubsub.js","js/lib/bootstrap/bootstrap.js",
|
|
// GIF Encoding libraries
|
|
"js/lib/gif/gif.worker.js",
|
|
"js/lib/gif/gif.js",
|
|
|
|
// Application wide configuration
|
|
"js/Constants.js",
|
|
"js/Events.js",
|
|
|
|
// Libraries
|
|
"js/utils/core.js",
|
|
"js/utils/UserAgent.js",
|
|
"js/utils/CanvasUtils.js",
|
|
"js/utils/Math.js",
|
|
"js/utils/FileUtils.js",
|
|
"js/utils/FrameUtils.js",
|
|
"js/utils/ImageResizer.js",
|
|
"js/utils/PixelUtils.js",
|
|
"js/utils/Serializer.js",
|
|
"js/utils/Template.js",
|
|
"js/utils/UserSettings.js",
|
|
"js/lib/jsColor_1_4_0/jscolor.js",
|
|
|
|
// Application libraries-->
|
|
"js/rendering/DrawingLoop.js",
|
|
|
|
// Models
|
|
"js/model/Frame.js",
|
|
"js/model/Layer.js",
|
|
"js/model/Piskel.js",
|
|
|
|
// Selection
|
|
"js/selection/SelectionManager.js",
|
|
"js/selection/BaseSelection.js",
|
|
"js/selection/RectangularSelection.js",
|
|
"js/selection/ShapeSelection.js",
|
|
|
|
// Rendering
|
|
"js/rendering/AbstractRenderer.js",
|
|
"js/rendering/CompositeRenderer.js",
|
|
"js/rendering/layer/LayersRenderer.js",
|
|
"js/rendering/frame/FrameRenderer.js",
|
|
"js/rendering/frame/CachedFrameRenderer.js",
|
|
"js/rendering/CanvasRenderer.js",
|
|
"js/rendering/SpritesheetRenderer.js",
|
|
|
|
// Controllers
|
|
"js/controller/PiskelController.js",
|
|
"js/controller/DrawingController.js",
|
|
"js/controller/PreviewFilmController.js",
|
|
"js/controller/LayersListController.js",
|
|
"js/controller/AnimatedPreviewController.js",
|
|
"js/controller/MinimapController.js",
|
|
"js/controller/ToolController.js",
|
|
"js/controller/PaletteController.js",
|
|
"js/controller/NotificationController.js",
|
|
|
|
// Settings sub-controllers
|
|
"js/controller/settings/ApplicationSettingsController.js",
|
|
"js/controller/settings/GifExportController.js",
|
|
"js/controller/settings/ImportController.js",
|
|
// Settings controller
|
|
"js/controller/settings/SettingsController.js",
|
|
|
|
// Services
|
|
"js/service/LocalStorageService.js",
|
|
"js/service/HistoryService.js",
|
|
"js/service/KeyboardEventService.js",
|
|
"js/service/ImageUploadService.js",
|
|
|
|
// Tools
|
|
"js/drawingtools/BaseTool.js",
|
|
"js/drawingtools/SimplePen.js",
|
|
"js/drawingtools/VerticalMirrorPen.js",
|
|
"js/drawingtools/Eraser.js",
|
|
"js/drawingtools/Stroke.js",
|
|
"js/drawingtools/PaintBucket.js",
|
|
"js/drawingtools/Rectangle.js",
|
|
"js/drawingtools/Circle.js",
|
|
"js/drawingtools/Move.js",
|
|
"js/drawingtools/selectiontools/BaseSelect.js",
|
|
"js/drawingtools/selectiontools/RectangleSelect.js",
|
|
"js/drawingtools/selectiontools/ShapeSelect.js",
|
|
"js/drawingtools/ColorPicker.js",
|
|
|
|
// Application controller and initialization
|
|
"js/app.js"
|
|
]; |