From fb21023e9247851a62e3b38396cd7cef7c9b5f84 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 18 Mar 2017 09:05:22 +0000 Subject: [PATCH] Polyfill ES5 --- gulpfile.js | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index f1ff83b2..f865c17c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -14,6 +14,8 @@ elixir((mix) => { .sass('dashboard.scss', 'public/dist/css/dashboard.css') .sass('app.scss', 'public/dist/css/app.css') .scripts([ + 'node_modules/es5-shim/es5-shim.js', + 'node_modules/es5-shim/es5-sham.js', 'node_modules/jquery/dist/jquery.min.js', 'node_modules/bootstrap-sass/assets/javascripts/bootstrap.min.js', 'node_modules/moment/min/moment-with-locales.min.js', diff --git a/package.json b/package.json index f66fec19..99fe899f 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "bootstrap-sass": "^3.3.6", "chart.js": "^2.4.0", "eonasdan-bootstrap-datetimepicker": "^4.17.46", + "es5-shim": "^4.5.9", "github-markdown-css": "^2.3.0", "gulp": "~3.9.1", "ionicons": "~2.0",