diff --git a/Plugin.php b/Plugin.php index fb1749f..f0f5c60 100644 --- a/Plugin.php +++ b/Plugin.php @@ -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'; } diff --git a/bower.json b/bower.json index 2a65470..c3bd960 100644 --- a/bower.json +++ b/bower.json @@ -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" } } diff --git a/gulpfile.js b/gulpfile.js index 158dd0d..16c22f4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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/*'