diff --git a/examples/photo-wallpaper/index.html b/examples/photo-wallpaper/index.html index 2346cbf..00a2e4d 100644 --- a/examples/photo-wallpaper/index.html +++ b/examples/photo-wallpaper/index.html @@ -32,7 +32,6 @@ //add event listeners width.addEventListener('keyup', cropImage); height.addEventListener('keyup', cropImage); - window.addEventListener('resize', resizeEditor); //load the image diff --git a/test/unit/image-editor.js b/test/unit/image-editor.js index 42aadfd..d7b54f1 100644 --- a/test/unit/image-editor.js +++ b/test/unit/image-editor.js @@ -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() {