mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Remove jquery from app.js
This commit is contained in:
parent
45d2245346
commit
f462cd3b70
@ -67,24 +67,24 @@
|
|||||||
|
|
||||||
this.drawingController = new pskl.controller.DrawingController(
|
this.drawingController = new pskl.controller.DrawingController(
|
||||||
this.piskelController,
|
this.piskelController,
|
||||||
$('#drawing-canvas-container'));
|
document.querySelector('#drawing-canvas-container'));
|
||||||
this.drawingController.init();
|
this.drawingController.init();
|
||||||
|
|
||||||
this.previewController = new pskl.controller.preview.PreviewController(
|
this.previewController = new pskl.controller.preview.PreviewController(
|
||||||
this.piskelController,
|
this.piskelController,
|
||||||
$('#animated-preview-canvas-container'));
|
document.querySelector('#animated-preview-canvas-container'));
|
||||||
this.previewController.init();
|
this.previewController.init();
|
||||||
|
|
||||||
this.minimapController = new pskl.controller.MinimapController(
|
this.minimapController = new pskl.controller.MinimapController(
|
||||||
this.piskelController,
|
this.piskelController,
|
||||||
this.previewController,
|
this.previewController,
|
||||||
this.drawingController,
|
this.drawingController,
|
||||||
$('.minimap-container'));
|
document.querySelector('.minimap-container'));
|
||||||
this.minimapController.init();
|
this.minimapController.init();
|
||||||
|
|
||||||
this.framesListController = new pskl.controller.FramesListController(
|
this.framesListController = new pskl.controller.FramesListController(
|
||||||
this.piskelController,
|
this.piskelController,
|
||||||
$('#preview-list-wrapper').get(0));
|
document.querySelector('#preview-list-wrapper'));
|
||||||
this.framesListController.init();
|
this.framesListController.init();
|
||||||
|
|
||||||
this.layersListController = new pskl.controller.LayersListController(this.piskelController);
|
this.layersListController = new pskl.controller.LayersListController(this.piskelController);
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.container = container.get(0);
|
this.container = container;
|
||||||
|
|
||||||
var cfg = {
|
var cfg = {
|
||||||
'zoom': this.calculateZoom_(),
|
'zoom': this.calculateZoom_(),
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
this.piskelController = piskelController;
|
this.piskelController = piskelController;
|
||||||
this.previewController = previewController;
|
this.previewController = previewController;
|
||||||
this.drawingController = drawingController;
|
this.drawingController = drawingController;
|
||||||
this.container = container.get(0);
|
this.container = container;
|
||||||
|
|
||||||
this.isClicked = false;
|
this.isClicked = false;
|
||||||
this.isVisible = false;
|
this.isVisible = false;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
ns.PreviewController = function (piskelController, container) {
|
ns.PreviewController = function (piskelController, container) {
|
||||||
this.piskelController = piskelController;
|
this.piskelController = piskelController;
|
||||||
this.container = container.get(0);
|
this.container = container;
|
||||||
|
|
||||||
this.elapsedTime = 0;
|
this.elapsedTime = 0;
|
||||||
this.currentIndex = 0;
|
this.currentIndex = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user