Skip to content

Commit

Permalink
Add clipboard.js (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwjames authored Dec 17, 2016
1 parent 90301d4 commit 277d122
Show file tree
Hide file tree
Showing 4 changed files with 801 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ mw.loader.using( 'onoi.md5' ).done( function () {
- `onoi.qtip` (3.0.3)
- `onoi.jstorage` (0.4.12)
- `onoi.blobstore` (0.1)
- `onoi.clipboard` (1.5.15)

## Contribution and support

Expand All @@ -62,6 +63,9 @@ A list of people who have made contributions in the past can be found [here][con

## Release notes

- 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
Expand All @@ -82,6 +86,7 @@ plug-ins are deployed with their respective published licenses.
- [jquery.async](http://mess.genezys.net/jquery/jquery.async.php) Dual licensed under the MIT and GPL licenses
- [jStorage](https://github.com/andris9/jStorage), Unlicense
- [jquery.qtip](http://qtip2.com/), Dual licensed under the MIT and GPL licenses
- [clipboard.js](https://github.com/zenorocha/clipboard.js), MIT License
- `onoi.blobstore` (0.1, GPL 2+)

[composer]: https://getcomposer.org/
Expand Down
14 changes: 14 additions & 0 deletions Resources.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,18 @@
'desktop'
)
);

$GLOBALS['wgResourceModules']['onoi.clipboard'] = array(
'localBasePath' => __DIR__ ,
'remoteExtPath' => '../vendor/onoi/shared-resources',
'position' => 'bottom',
'scripts' => array(
'res/clipboard/clipboard.js',
'res/onoi.clipboard.js'
),
'targets' => array(
'mobile',
'desktop'
)
);
}
Loading

0 comments on commit 277d122

Please sign in to comment.