mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-30 18:14:32 +00:00
23b5b2f112
This turns the prototype code of the Revision Slider into a MediaWiki extension. With this extension enabled the slider should appear on diff pages already but it won't actually show diffs when adjusting the slider pointers. Things that changed so far in the prototype JS code: - pulled out the rainbow function and made it use Math.floor instead of the ~~ binary operator - pulled out the API request that fetches the revisions into its own module - cleaned up and documented some parts of the code The code is still very much WIP and JSCS still has a couple of complaints. Bug: T132576 Change-Id: I2e22365f3b93a76d5b8d3997242b5fed996c6d78
12 lines
261 B
JSON
Executable file
12 lines
261 B
JSON
Executable file
{
|
|
"name": "RevisionSlider",
|
|
"version": "0.0.0",
|
|
"devDependencies": {
|
|
"grunt": "0.4.5",
|
|
"grunt-cli": "0.1.13",
|
|
"grunt-contrib-jshint": "0.11.3",
|
|
"grunt-banana-checker": "0.4.0",
|
|
"grunt-jscs": "2.1.0",
|
|
"grunt-jsonlint": "1.0.4"
|
|
}
|
|
} |