goatslacker / alt

Isomorphic flux implementation
http://alt.js.org/
3.45k stars 322 forks source link

getPrototypeChain gets whole prototype chain #684

Closed andrejbaran closed 6 years ago

andrejbaran commented 7 years ago

Hi,

this changes AltUtils.getPrototypeChain to return methods from the whole prototype chain (instead of just from the first prototype), which we needed since we have multiple subclasses in the chain for the final ActionClass.

I'm not sure you guys want something like that merged, but in case you do here's the patch.

Thanks for the feedback

andrejbaran commented 7 years ago

Just a hint regarding the tests, you have fairly old versions of babel and babel plugins and tests are failing because of that. I can add a commit that fixes that if you want me to. Test were passing on my local setup with updated versions.