定制 onoi/shared-resources 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

onoi/shared-resources

最新稳定版本:0.4.3

Composer 安装命令:

composer require onoi/shared-resources

包简介

Shareable and common resource modules

关键字:

README 文档

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.

统计信息

  • 总下载量: 279.33k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-04-05