Use ES5-shim

Fixes #1
This commit is contained in:
Dmitriy Simushev 2014-09-23 06:57:38 +00:00
parent f0fb9a9a73
commit 7eb73f0706
3 changed files with 4 additions and 1 deletions

View File

@ -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';
}

View File

@ -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"
}
}

View File

@ -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/*'