Please update the version for bower
hozuki opened this issue · 1 comments
Version 0.0.9 (shown in bower.json) has an error that $(window).load(function(...) {...}) is not compatible with newer jQuery. Commit 98f95b7 fixed this (may be just a side effect), and it is included in version 0.0.10 (shown in package.json).
I'm currently testing on NW.js, so require() would work. However it is only invoked once per app start, so if I navigate back and forward, it is not attached to jQuery ($.keyframes becomes undefined). This can be solved by using a <script> element to load the script, but since the version is unchanged after that fix, Bower downloads an old version which throws an error during loading. Although Bower announced itself deprecated, I still think it is better to update the version.
I'm not sure what it behaves when using yarn and webpack. Nobody reports this so I guess everything is alright.
I temporarily solved it by using npm to install and then reference the file in node_modules using a <script> tag. This would only work in NW.js (not in browser) and it is definitely not elegant.