In this chapter, we'll be investigating the MooTools Core component which contains a collection of useful utility/helper functions and properties that we can use to write less code and obtain information about the browser client.
In this chapter we shall:
Learn about browser properties that MooTools makes available to us, and how to use them to gain more data about our users
Explore the Core's utility functions in order to discover functions that will make writing JavaScript easier
So let's get on with it!
The Core is a MooTools component (Core.js
) that contains a plethora of useful functions that deal with common JavaScript tasks, such as checking if the objects are defined, and merging the objects into one.
The Core is split into two sub-components: Browser, which gives you a set of tools for acquiring information about the client accessing your scripts, and Core, which contains a mixture of helpful functions for dealing with...