onoi/shared-resources

Shareable and common resource modules

Installs: 271 124

Dependents: 4

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Language:JavaScript

0.4.3 2017-04-23 15:14 UTC

This package is auto-updated.

Last update: 2024-02-29 03:17:54 UTC


README

Latest Stable Version Packagist download count Dependency Status

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
  • 0.4 (2017-04-15)

    • Addedd onoi.dataTables using jquery.dataTables 1.10.13
    • Addedd onoi.highlight using jquery.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
  • 0.3 (2016-12-17)

    • Addedd onoi.clipboard 1.5.15
  • 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
  • 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.