mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-13 08:38:55 +00:00
fedaa553b4
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
11 lines
300 B
JavaScript
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 ) );
|