mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-24 07:23:41 +00:00
Merge "Merge ….Pointer ResourceLoader module away"
This commit is contained in:
commit
fd8b96b791
|
@ -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",
|
||||||
|
|
|
@ -59,8 +59,4 @@ $.extend( Pointer.prototype, {
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
||||||
module.exports = {
|
module.exports = Pointer;
|
||||||
Pointer: Pointer,
|
|
||||||
PointerLine: PointerLine,
|
|
||||||
PointerView: PointerView
|
|
||||||
};
|
|
||||||
|
|
|
@ -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' )
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -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' ),
|
||||||
|
|
|
@ -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' );
|
||||||
|
|
||||||
|
|
|
@ -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' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue