官术网_书友最值得收藏!

Conventions

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: "Once Sublime editor is installed, go to the installed directory, and you can open Sublime from the terminal by running subl in the directory that your are in and you will open the files of the current directory in sublime."

A block of code is set as follows:

<!DOCTYPE html>
<html>
<head>
  <script src="fb-react-0.12.2.js"></script>
</head>
<body>
  <div id="root"></div>
</body>
</html>

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

function loadUserAndLikes () {
  FB.api('/me', function (userResponse) {
    React.render(<UserDetails userDetails={userResponse} />, document.getElementById('user'));

    var fields = { fields: 'category,name,picture.type(normal)' };
    FB.api('/me/likes', fields, function (likesResponse) {
      React.render(<UserLikesList list={likesResponse.data} />, document.getElementById('main'));
    });
  });
}

Any command-line input or output is written as follows:

sudo npm install jest-cli –save-dev

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: " I've experienced using Atom on a MacOS X Yosemite is that the font quality looks poorer than that in Sublime Text. If you face it, you just need to uncheck the Use Hardware Acceleration option in Atom's settings.."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 孟州市| 固原市| 大城县| 崇州市| 彝良县| 密山市| 隆化县| 峨边| 贡觉县| 东安县| 江西省| 教育| 杂多县| 雷波县| 六安市| 准格尔旗| 中山市| 澄江县| 诏安县| 区。| 宁津县| 上林县| 达拉特旗| 开阳县| 扎鲁特旗| 即墨市| 白山市| 册亨县| 富川| 宜都市| 台南市| 新乡县| 宜兰市| 大兴区| 吴忠市| 延安市| 南开区| 务川| 新源县| 科尔| 涟水县|