"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "extensions/MultimediaViewer/resources/mmv/mmv.ThumbnailWidthCalculator.js" between
mediawiki-1.31.1.tar.gz and mediawiki-1.32.0.tar.gz

About: MediaWiki is a wiki engine (the collaborative editing software that runs for e.g. Wikipedia, the free encyclopedia).

mmv.ThumbnailWidthCalculator.js  (mediawiki-1.31.1):mmv.ThumbnailWidthCalculator.js  (mediawiki-1.32.0)
skipping to change at line 80 skipping to change at line 80
320, 320,
800, 800,
1024, 1024,
1280, 1280,
1920, 1920,
2560, 2560,
2880 2880
], ],
// screen pixel per CSS pixel // screen pixel per CSS pixel
devicePixelRatio: $.devicePixelRatio() devicePixelRatio: window.devicePixelRatio || 1
}; };
/** /**
* Finds the smallest bucket which is large enough to hold the target siz e * Finds the smallest bucket which is large enough to hold the target siz e
* (i. e. the smallest bucket whose size is equal to or greater than the target). * (i. e. the smallest bucket whose size is equal to or greater than the target).
* If none of the buckets are large enough, returns the largest bucket. * If none of the buckets are large enough, returns the largest bucket.
* *
* @param {number} target * @param {number} target
* @return {number} * @return {number}
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)