paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 389 forks source link

Can't work with webcomponents.js(@version 0.5.5) #324

Closed reutopiaer closed 9 years ago

reutopiaer commented 9 years ago

es6-shim.js:29903 Uncaught RangeError: Maximum call stack size exceeded

<!doctype html>
<html>
<head>
     <title></title>
    <script src="/quickstart/dist/es6-shim.js"></script>
    <script src="/bower_components/webcomponents.js/webcomponents.js"></script>
</head>
<body>
</body>
</html>
ljharb commented 9 years ago

I'm not sure what "webcomponents" is - can you provide more detail? Specifically, which function is hitting a recursion limit, and what the github repo (and npm package name) is for this?

reutopiaer commented 9 years ago

@ljharb A suite of polyfills supporting the HTML Web Components specs https://github.com/webcomponents/webcomponentsjs http://webcomponents.org/polyfills/

I want use es6-shim with polymerjs

ljharb commented 9 years ago

So which function is hitting a recursion limit? There's not 29,903 lines in es6-shim.js :-)

reutopiaer commented 9 years ago

I‘m very Sorry! I have a huge mistake. I just find that my es6-shim.js is download from: https://github.com/angular/quickstart/blob/master/dist/es6-shim.js