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

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.

主站蜘蛛池模板: 遵化市| 镇原县| 瑞丽市| 鹤岗市| 玉林市| 宜兴市| 白沙| 贡觉县| 澎湖县| 开封县| 灵武市| 瑞金市| 科尔| 安泽县| 江津市| 建宁县| 宁海县| 昌江| 十堰市| 肥西县| 农安县| 蒲江县| 县级市| 陆河县| 泸定县| 长沙县| 宣化县| 合川市| 利津县| 松桃| 加查县| 惠来县| 刚察县| 武邑县| 始兴县| 林西县| 赤壁市| 安龙县| 肇源县| 正安县| 喀喇|