Merge "Merge ….Pointer ResourceLoader module away"

This commit is contained in:
jenkins-bot 2021-12-17 13:48:20 +00:00 committed by Gerrit Code Review
commit fd8b96b791
6 changed files with 16 additions and 21 deletions

View file

@ -42,7 +42,6 @@
"RevisionSlider.HelpDialog.test.js"
],
"dependencies": [
"ext.RevisionSlider.Pointer",
"ext.RevisionSlider.Slider",
"ext.RevisionSlider.RevisionList",
"ext.RevisionSlider.HelpDialog",
@ -119,21 +118,17 @@
"mediawiki.cookie"
]
},
"ext.RevisionSlider.Pointer": {
"packageFiles": [
"modules/ext.RevisionSlider.Pointer.js",
"modules/ext.RevisionSlider.PointerLine.js",
"modules/ext.RevisionSlider.PointerView.js"
]
},
"ext.RevisionSlider.Slider": {
"packageFiles": [
"modules/ext.RevisionSlider.Slider.js",
"modules/ext.RevisionSlider.Api.js",
"modules/ext.RevisionSlider.DiffPage.js",
"modules/ext.RevisionSlider.util.js",
"modules/ext.RevisionSlider.Pointer.js",
"modules/ext.RevisionSlider.PointerLine.js",
"modules/ext.RevisionSlider.PointerView.js",
"modules/ext.RevisionSlider.SliderArrowView.js",
"modules/ext.RevisionSlider.SliderView.js",
"modules/ext.RevisionSlider.SliderArrowView.js"
"modules/ext.RevisionSlider.util.js"
],
"dependencies": [
"jquery.ui",
@ -141,8 +136,7 @@
"mediawiki.util",
"oojs-ui",
"oojs-ui.styles.icons-movement",
"ext.RevisionSlider.HelpDialog",
"ext.RevisionSlider.Pointer"
"ext.RevisionSlider.HelpDialog"
],
"messages": [
"revisionslider-arrow-tooltip-newer",

View file

@ -59,8 +59,4 @@ $.extend( Pointer.prototype, {
}
} );
module.exports = {
Pointer: Pointer,
PointerLine: PointerLine,
PointerView: PointerView
};
module.exports = Pointer;

View file

@ -123,5 +123,10 @@ module.exports = {
DiffPage: require( './ext.RevisionSlider.DiffPage.js' ),
Slider: Slider,
SliderView: SliderView,
utils: require( './ext.RevisionSlider.util.js' )
utils: require( './ext.RevisionSlider.util.js' ),
private: {
Pointer: require( './ext.RevisionSlider.Pointer.js' ),
PointerView: require( './ext.RevisionSlider.PointerView.js' )
}
};

View file

@ -1,7 +1,7 @@
var DiffPage = require( './ext.RevisionSlider.DiffPage.js' ),
HelpButtonView = require( 'ext.RevisionSlider.HelpDialog' ).HelpButtonView,
makeRevisions = require( 'ext.RevisionSlider.RevisionList' ).makeRevisions,
Pointer = require( 'ext.RevisionSlider.Pointer' ).Pointer,
Pointer = require( './ext.RevisionSlider.Pointer.js' ),
RevisionListView = require( 'ext.RevisionSlider.RevisionList' ).RevisionListView,
RevisionSliderApi = require( './ext.RevisionSlider.Api.js' ),
SliderArrowView = require( './ext.RevisionSlider.SliderArrowView.js' ),

View file

@ -1,4 +1,4 @@
var Pointer = require( 'ext.RevisionSlider.Pointer' ).Pointer;
var Pointer = require( 'ext.RevisionSlider.Slider' ).private.Pointer;
QUnit.module( 'ext.RevisionSlider.Pointer' );

View file

@ -1,4 +1,4 @@
var PointerView = require( 'ext.RevisionSlider.Pointer' ).PointerView;
var PointerView = require( 'ext.RevisionSlider.Slider' ).private.PointerView;
QUnit.module( 'ext.RevisionSlider.PointerView' );