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

View file

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

View file

@ -123,5 +123,10 @@ module.exports = {
DiffPage: require( './ext.RevisionSlider.DiffPage.js' ), DiffPage: require( './ext.RevisionSlider.DiffPage.js' ),
Slider: Slider, Slider: Slider,
SliderView: SliderView, 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' ), var DiffPage = require( './ext.RevisionSlider.DiffPage.js' ),
HelpButtonView = require( 'ext.RevisionSlider.HelpDialog' ).HelpButtonView, HelpButtonView = require( 'ext.RevisionSlider.HelpDialog' ).HelpButtonView,
makeRevisions = require( 'ext.RevisionSlider.RevisionList' ).makeRevisions, makeRevisions = require( 'ext.RevisionSlider.RevisionList' ).makeRevisions,
Pointer = require( 'ext.RevisionSlider.Pointer' ).Pointer, Pointer = require( './ext.RevisionSlider.Pointer.js' ),
RevisionListView = require( 'ext.RevisionSlider.RevisionList' ).RevisionListView, RevisionListView = require( 'ext.RevisionSlider.RevisionList' ).RevisionListView,
RevisionSliderApi = require( './ext.RevisionSlider.Api.js' ), RevisionSliderApi = require( './ext.RevisionSlider.Api.js' ),
SliderArrowView = require( './ext.RevisionSlider.SliderArrowView.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' ); 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' ); QUnit.module( 'ext.RevisionSlider.PointerView' );