Spice’s utility classes are all powered by Mootools, and as a happy side effect your Javascripts can easily take advantage of Mootools many improvements over vanilla Javascript either by requiring a Spice utility class, or by requiring Mootools directly:'mootools-server');

The version of Mootools bundled with Spice is 1.2.4 and includes:

Mootools Core

  • Core: core
  • Native: Array, Function, Number, String, Hash
  • Class: Class, Class.Extras

Mootools More

  • Core: More
  • Class: Class.Refactor, Class.Binds, Class.Occludes

For more information about using Mootools, please see the Mootools documentation.