Code sample to accompany the book.
This sample takes advantage of transpiling the code using Ctrl+B on Windows or Cmd+B on Mac. To do this you must use the following tool:
Please refer to the Setup section for configuring Sublime for build the samples provided.
This library can be used in the browser and in node.
The samples provided use BabelJS as the transpiler. These need to be installed in order for the samples to work. Please use the following steps to ensure you environment is ready:
-
Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
-
From the project folder, execute the following command:
npm install
To run the examples, you simply need to press Ctrl+B on Windows or Cmd+B on Mac. You will see the output of transpiling the code in the output window in Sublime.
##Setup The following are the steps required to configure Sublime Text to automatically build and test your validations: