magicmockup icon indicating copy to clipboard operation
magicmockup copied to clipboard

Update to new CoffeeScript

Open garrett opened this issue 5 years ago • 2 comments

  1. Fixed CoffeeScript to compile again, as the new version of CoffeeScript is mainly backwards compatible, but missing a comma caused the source to not compile.
  2. Updated CoffeeScript coding style using lint suggestions.
  3. Recompiled JavaScript from CoffeeScript source.
  4. Updated README to reference just npm and use coffeescript instead of the old coffee-script.

garrett avatar Jun 04 '20 09:06 garrett

I've updated things a bit in this PR as it seems there is interest in people using magicmockup. We should, at a minimum, make sure it compiles with updated tooling.

garrett avatar Jun 04 '20 09:06 garrett

Additionally, jQuery should be updated (in this PR, probably).

And eventually, perhaps, we should port over to using plain JavaScript functions instead of jQuery (in a follow-up PR).

garrett avatar Jun 04 '20 09:06 garrett