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

  • Learning Yeoman
  • Jonathan Spratley
  • 193字
  • 2021-09-03 10:02:30

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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The bower.json file is how Bower manages the project's dependencies."

A block of code is set as follows:

<div class="header">
  <ul class="nav nav-pills pull-right">
    <li ng-repeat="item in App.menu" 
      ng-class="{'active': App.location.path() === item.href}">
      <a ng-href = "#{{item.href}}"> {{item.title}} </a>
    </li>
  </ul>
  <h3 class="text-muted"> {{ App.sitetitle }} </h3>
</div>

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

require 'scripts/config'
LearningYeomanCh5 = window.LearningYeomanCh5 =  
  Ember.Application.create(
 LOG_VIEW_LOOKUPS: true
 LOG_ACTIVE_GENERATION: true
 LOG_BINDINGS: true
 config: window.Config
)

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

$ npm install -g generator-webapp

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: "See for yourself; open Chrome Developer Tools and click on the Network tab."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 呼和浩特市| 贺兰县| 师宗县| 泸水县| 安庆市| 天祝| 大邑县| 天津市| 田东县| 栾城县| 亳州市| 崇文区| 诸城市| 澄迈县| 新竹县| 防城港市| 合山市| 米林县| 二手房| 永胜县| 永顺县| 芦山县| 陆丰市| 青阳县| 乌兰县| 平顺县| 卓尼县| 宾阳县| 东阳市| 台东市| 铜川市| 奇台县| 寻乌县| 沁水县| 无棣县| 沧州市| 张家界市| 安新县| 十堰市| 定襄县| 乐平市|