onoi / shared-resources
Shareable and common resource modules
Installs: 274 312
Dependents: 4
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Language:JavaScript
Requires
- php: >=5.3.0
- composer/installers: 1.*,>=1.0.1
README
Some resources in this package were part of the Semantic MediaWiki code base and are now deployed as separate library so that ResourceLoader modules can be used independently.
Requirements
PHP 5.3 / HHVM 3.3 or later
Installation
The recommended installation method for this library is to add the dependency to your composer.json.
{ "require": { "onoi/shared-resources": "~0.4" } }
Usage
Define a dependency or load a specifc resource module.
$GLOBALS['wgResourceModules']['ext.something'] = array(
...
'dependencies' => array(
'onoi.md5',
'onoi.blobstore'
);
);
mw.loader.using( 'onoi.md5' ).done( function () {
// do something
} );
Resources
onoi.md5
(1.1.0)onoi.blockUI
(2.70)onoi.rangeslider
(2.1.2)onoi.localForage
(1.4.2)onoi.async
(1.0)onoi.qtip
(3.0.3)onoi.jstorage
(0.4.12)onoi.blobstore
(0.1)onoi.clipboard
(1.5.15)onoi.dataTables
(jquery.dataTables
1.10.15)onoi.bootstrap.tab
(v4.0.0-alpha.6)
Contribution and support
If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guidelinee. A list of people who have made contributions in the past can be found here.
Release notes
-
0.4.1 (2017-04-22)
- Replaced
jquery.dataTables
1.10.13 with 1.10.15
- Replaced
-
0.4 (2017-04-15)
- Addedd
onoi.dataTables
usingjquery.dataTables
1.10.13 - Addedd
onoi.highlight
usingjquery.highlight
- Addedd
onoi.bootstrap.tab
using Bootstrap (v4.0.0-alpha.6): tab.js - Replaced
clipboard.js
v1.5.15 with v1.6.1 - Replaced
localForage.js
1.4.2 with 1.5.0
- Addedd
-
0.3 (2016-12-17)
- Addedd
onoi.clipboard
1.5.15
- Addedd
-
0.2 (2016-05-25)
- Addedd
onoi.qtip
3.0.3 - Replaced
onoi.localForage
1.4.0 with 1.4.2 - Replaced
onoi.md5
2.3.0 with 1.1.0 as some issues were encountered when loading it as resource
- Addedd
-
0.1 (2016-04-05)
- Initial release
License
GNU General Public License 2.0 or later. Libraries and third-party plug-ins are deployed with their respective published licenses.
- MD5, MIT license
- jquery.blockUI, Dual licensed under the MIT and GPL licenses
- ion.rangeSlider, MIT license
- Mozilla localForage, Apache License 2.0
- jquery.async Dual licensed under the MIT and GPL licenses
- jStorage, Unlicense
- jquery.qtip, Dual licensed under the MIT and GPL licenses
- jquery.dataTables, MIT licenses
- jquery.highlight, MIT licenses
- clipboard.js, MIT License
- Bootstrap, MIT licenses
onoi.blobstore
(0.1, GPL 2+)