undo and redo adding new cropper library as it had a .git config from the original project
This commit is contained in:
15
library/cropperjs/test/events/ready.js
Normal file
15
library/cropperjs/test/events/ready.js
Normal file
@@ -0,0 +1,15 @@
|
||||
QUnit.test('events#ready', function (assert) {
|
||||
var done = assert.async();
|
||||
var util = window.Util;
|
||||
var image = util.createImage();
|
||||
|
||||
assert.expect(1);
|
||||
|
||||
image.addEventListener('ready', function () {
|
||||
assert.ok(true);
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
return new Cropper(image);
|
||||
});
|
Reference in New Issue
Block a user