Skip to content

assets and inits

Choose a tag to compare

@ethn ethn released this 06 Aug 20:50
· 3416 commits to main since this release

Monkeys (mod developers) can now:

  • add JavaScript or CoffeeScript files to {mod}/assets/script, and they will automatically be loaded
  • add CSS or SCSS files to {mod}/assets/style, and they will automatically be loaded
  • add a manifest.yml to those directories for more fine-grained control
  • add language-specific handling in locales dir
  • use init/early and init/late to add initializers that respectively can't and can refer to Card/CardController.

Platypuses (platform developers) will be happy to see the initialization process looking much cleaner, making heavy use of Railties and other Rails conventions.