mediawiki-extensions-Multim.../tests/qunit/mmv/mmv.lightboximage.test.js
Aaron Arcos fedaa553b4 Fix resize issues (Part II)
I was going to stage this but better give you the whole enchilada,
it is not that bad, ;-). This is what I am doing:

- Delete  things that are not used anymore.
- Componentize image ui element (Canvas).

Bug: 56454
Change-Id: Ib5461639a86d9f8e0a150f6d9543a20058d31e00
Mingle: 239
2014-02-28 10:22:21 +01:00

11 lines
300 B
JavaScript

( function ( mw ) {
QUnit.module( 'mmv.lightboximage', QUnit.newMwEnvironment() );
QUnit.test( 'Sanity test, object creation', 1, function ( assert ) {
var lightboxImage = new mw.mmv.LightboxImage( 'foo.png' );
assert.ok( lightboxImage, 'Object created !' );
} );
}( mediaWiki, jQuery ) );