lavalamp.js icon indicating copy to clipboard operation
lavalamp.js copied to clipboard

Various Changes

Open danjford opened this issue 9 years ago • 0 comments

I had some spare time, so I did this more for fun than anything but have a look at my fork.

Here's an overview of what I've done:

  • Added NPM
    • npm run start - this will run the project in 'development' mode with watch tasks and serve the index.html to localhost with live reload for any changes
  • Removed the jQuery dependency
  • Made the source in ES6
  • Added some prototypes so that the animation can easily by stopped and started using stop() and start()
  • Separated the code into three distinct files
    • demo - the demo code of the library
    • dist - the built js, and copied css
    • src - the original unbuilt js and css
  • Formatted the css code
  • Updated the README to reflect the changes

danjford avatar Mar 01 '16 17:03 danjford