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:
joakin 2017-07-28 15:05:04 +02:00 committed by Jdlrobson
parent 91f1ca6bbc
commit 31fa60d32c
7 changed files with 6 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1,4 +1,4 @@
var renderer = require( '../renderer' );
var renderer = require( '../ui/renderer' );
/**
* Creates an instance of the render change listener.

View file

@ -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' ),

View file

@ -4,7 +4,7 @@
var mw = window.mediaWiki,
$ = jQuery,
wait = require( './wait' ),
wait = require( '../wait' ),
SIZES = {
portraitImage: {
h: 250, // Exact height

View file

@ -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' );
}
} );

View file

@ -1,5 +1,5 @@
var $ = jQuery,
renderer = require( '../../src/renderer' );
renderer = require( '../../../src/ui/renderer' );
/**
* A utility function that creates a bare bones preview