Closed cutandpastey closed 9 years ago
Style!
Style should be fixed. Also as discussed we cant have a nice rootRequire function as browserify doesn't support dynamic requires.
:+1:
@hmgibson23 @robinedman can I ask you guys to cast your eyes over this again? If your'e happy I can release again and get this into composer?
:+1:
This PR abstracts the note toggle functionality into two distinct, unit tested modules. The logic in these two modules specifically has been overhauled.
I've edited to
npm watch
task to run whensrc/**/*.js
have changed as well astest/**/*.spec.js
as the previous behaviour was slightly annoying.Ive also moved all the utils that mutate a given tree into the actions folder rather than in utils because these modules 'act' on a given tree.
Finally I've refactored hasClass to use a native RegExp rather than the array operations which is more performant.