small formatting fixes
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
//add event listeners
|
||||
width.addEventListener('keyup', cropImage);
|
||||
height.addEventListener('keyup', cropImage);
|
||||
|
||||
window.addEventListener('resize', resizeEditor);
|
||||
|
||||
//load the image
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
QUnit.module('ImageEditor');
|
||||
|
||||
QUnit.test('should load image', function(assert) {
|
||||
QUnit.test('load image', function(assert) {
|
||||
var done = assert.async();
|
||||
var editor = new ImageEditor('canvas');
|
||||
editor.loadImage('fixtures/dog.jpg', function() {
|
||||
@@ -11,7 +11,7 @@
|
||||
});
|
||||
});
|
||||
|
||||
QUnit.test('should crop image', function(assert) {
|
||||
QUnit.test('crop image', function(assert) {
|
||||
var done = assert.async();
|
||||
var editor = new ImageEditor('canvas');
|
||||
editor.loadImage('fixtures/dog.jpg', function() {
|
||||
|
||||
Reference in New Issue
Block a user