In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "If you look inside environment.js
, you will notice that the environment module exports the configurations in an ENV
object."
A block of code is set as follows:
var base = Ember.Object.extend({ baseProperty: true }); var derived = base.extend({ derivedProperty:false }); var derivedObject = derived.create(); console.log(derivedObject.get('baseProperty')); console.log(derivedObject.get('derivedProperty'));
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
redirect: function(){
this.transitionTo("commits.index");
}
Any command-line input or output is written as follows:
ember new my-first-ember-app
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "The contents of the template should have a Show More and Show Less button."
3.143.247.53