Closed matthewrobb closed 10 years ago
I've got a bit jshint commit I'm pushing out today, just added it to the grunt build step and fixed all the silly errors like that one above that came up.
Also coming in this push, after I fix one more bug with it, is the Polymer custom-element and mutationOvserver shims. I've re-worked it to work with the proper custom-element registration syntax.
epicmiller/rebound/lib/rebound/components/model.js#L62
This is fine when using the old es6-module-transpiler because it's not very strict. The problem is not only do module bodies generally get wrapped in a strict-mode iife the transpiler alo asserts on some static errors. In the above you cannot redeclare val since it has a named parameter of val.