Conventions
In this book, various font styles are used to differentiate between different types of information. Here are some examples of these styles, and an explanation of their meaning:
When referring to a short piece of information that relates to the code examples, like a variable or property name, or file or directory name, we'll use a light mono-space font:
"Based on this task, we notice that each file
in the files
array contains src
and dest
properties."
When referring to a large piece of information that relates to the code examples, like a portion of code, the contents of a file or the output from the command-line interface, we use black mono-space font:
grunt.initConfig({ stringCheck: { file: './src/app.js', string: 'console.log(' } }); ...
Get Getting Started with Grunt: The JavaScript Task Runner now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.