core.min.js error in Safari 8.0.7
blopker opened this issue · 5 comments
It looks like the minifier used is violating the 'use strict'; directive. File used: https://raw.githubusercontent.com/zloirock/core-js/master/client/core.min.js
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script src="./core.min.js"></script>
</body>
</html>
Results in : SyntaxError: Cannot declare a parameter named 'k' as it shadows the name of a strict mode function. core.min.js:8
Unminified version works fine.
Cheers! 🍻
It's old safari bug - wrong strict mode rule. Looks like problem in minification, I thought it was fixed in uglify
a long time ago. After rebuild w/o any serious changes core.min.js
works in Safari. I'll publish patch release little later.
\cc @mishoo
Great, I'll give it a go when it's released!
Ah, Safari; The new IE.
I disable compression function names, it should prevent this problem. Available 1.0.1
.
I can confirm this is fixed. Thank you!
Thanks for report :)