Skip to content
Snippets Groups Projects
Commit f58e15c8 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Move btoa polyfill to theme.config.php.

parent 3da30c3a
No related merge requests found
......@@ -23,8 +23,6 @@
<?
// Set global path for Javascript code:
$this->headScript()->prependScript("path = '" . rtrim($this->url('home'), '/') . "';");
// Polyfill btoa
$this->headScript()->appendFile('vendor/base64.js', 'text/javascript', array('conditional' => 'lt IE 10'));
// Deal with cart stuff:
if (!isset($this->renderingError)) {
......
......@@ -11,6 +11,7 @@ return array(
'print.css:print',
),
'js' => array(
'vendor/base64.js:lt IE 10', // btoa polyfill
'vendor/jquery.min.js',
'vendor/bootstrap.min.js',
'vendor/bootstrap-accessibility.min.js',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment