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

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The skipWaiting() method is used inside the active event handler, which in turn uses Clients.claim()."

A block of code is set as follows:

self.oninstall = function(event) {
  event.waitUntil(
    fetch(zipURL)
      .then(function(res) {
        return res.arrayBuffer();
      })
      .then(getZipFileReader)
      .then(cacheFileContents)
      .then(self.skipWaiting.bind(self))
  );
};

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

$ git add –all
$ git commit -m "initial commit"
$ git push -u origin master

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes, for example, appear in the text like this: "Finally, in the sidebar on the left-hand side, select Credentials."

主站蜘蛛池模板: 孝义市| 上杭县| 墨玉县| 乌兰察布市| 来宾市| 峨眉山市| 巨鹿县| 云霄县| 嘉定区| 大埔县| 景宁| 内丘县| 双桥区| 德化县| 湖口县| 赤城县| 永平县| 碌曲县| 南雄市| 莱西市| 资兴市| 白山市| 剑河县| 建宁县| 商都县| 广水市| 博客| 潮安县| 东源县| 贞丰县| 勃利县| 神木县| 航空| 邯郸市| 明光市| 禹城市| 茶陵县| 龙门县| 三门峡市| 高平市| 广平县|