mirror of
https://github.com/Mibew/emoji-plugin.git
synced 2024-11-15 08:54:13 +03:00
parent
f0fb9a9a73
commit
7eb73f0706
@ -66,6 +66,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
||||
|
||||
if ($this->isAppropriatePage($request)) {
|
||||
$base_path = $request->getBasePath() . '/' . $this->getFilesPath();
|
||||
$args['js'][] = $base_path . '/components/es5-shim/es5-shim.js';
|
||||
$args['js'][] = $base_path . '/components/emoji-images/emoji-images.js';
|
||||
$args['js'][] = $base_path . '/js/plugin.js';
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
"private": true,
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"emoji-images": "https://github.com/HenrikJoreteg/emoji-images.git#154d7641a7f93699afbd7b4934c490837b8b5973"
|
||||
"emoji-images": "https://github.com/HenrikJoreteg/emoji-images.git#154d7641a7f93699afbd7b4934c490837b8b5973",
|
||||
"es5-shim": "~4.0.3"
|
||||
}
|
||||
}
|
||||
|
@ -49,6 +49,7 @@ var getSources = function() {
|
||||
'LICENSE',
|
||||
'js/*',
|
||||
'css/*',
|
||||
'components/es5-shim/es5-shim.js',
|
||||
'components/emoji-images/emoji-images.js',
|
||||
'components/emoji-images/readme.md',
|
||||
'components/emoji-images/pngs/*'
|
||||
|
Loading…
Reference in New Issue
Block a user