mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
Hygiene: Move ui renderer.js to ui/ folder
Seems appropiate to group the UI portions of the source under a ui folder. Bug: T171951 Change-Id: I6d4317abea4e2a8e273e13fc40a7445bb54628ef
This commit is contained in:
parent
91f1ca6bbc
commit
31fa60d32c
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map
vendored
BIN
resources/dist/index.js.map
vendored
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
var renderer = require( '../renderer' );
|
||||
var renderer = require( '../ui/renderer' );
|
||||
|
||||
/**
|
||||
* Creates an instance of the render change listener.
|
||||
|
|
|
@ -14,7 +14,7 @@ var mw = mediaWiki,
|
|||
registerChangeListener = require( './changeListener' ),
|
||||
createIsEnabled = require( './isEnabled' ),
|
||||
title = require( './title' ),
|
||||
renderer = require( './renderer' ),
|
||||
renderer = require( './ui/renderer' ),
|
||||
createExperiments = require( './experiments' ),
|
||||
statsvInstrumentation = require( './instrumentation/statsv' ),
|
||||
eventLoggingInstrumentation = require( './instrumentation/eventLogging' ),
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
var mw = window.mediaWiki,
|
||||
$ = jQuery,
|
||||
wait = require( './wait' ),
|
||||
wait = require( '../wait' ),
|
||||
SIZES = {
|
||||
portraitImage: {
|
||||
h: 250, // Exact height
|
|
@ -11,13 +11,13 @@ QUnit.module( 'ext.popups/changeListeners/render', {
|
|||
render: this.sandbox.stub().returns( this.preview )
|
||||
};
|
||||
|
||||
mock( '../../../src/renderer', this.renderer );
|
||||
mock( '../../../src/ui/renderer', this.renderer );
|
||||
render = this.sandbox.spy(
|
||||
mock.reRequire( '../../../src/changeListeners/render' )
|
||||
);
|
||||
},
|
||||
afterEach: function () {
|
||||
mock.stop( '../../../src/renderer' );
|
||||
mock.stop( '../../../src/ui/renderer' );
|
||||
}
|
||||
} );
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var $ = jQuery,
|
||||
renderer = require( '../../src/renderer' );
|
||||
renderer = require( '../../../src/ui/renderer' );
|
||||
|
||||
/**
|
||||
* A utility function that creates a bare bones preview
|
Loading…
Reference in a new issue