- Mastering KnockoutJS
- Timothy Moran
- 184字
- 2021-08-05 17:13:10
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: "All the code needed to start each chapter can be found in a branch named cp[chapter#]-[sample]
."
A block of code is set as follows:
var subtotal = ko.observable(0); var tax = ko.observable(0.05); var total = ko.computed(function() { var subtotal = parseFloat(self.subtotal()), tax = parseFloat(self.tax()); return subtotal * (1 + tax); });
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: "You might have noticed in the previous section that when the Contacts page view model communicated with the data service, it wasn't dealing with JSON, but real JavaScript objects."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- Web程序設(shè)計(jì)及應(yīng)用
- MySQL數(shù)據(jù)庫(kù)管理實(shí)戰(zhàn)
- GraphQL學(xué)習(xí)指南
- Mastering Objectoriented Python
- Learn to Create WordPress Themes by Building 5 Projects
- JIRA 7 Administration Cookbook(Second Edition)
- Object-Oriented JavaScript(Second Edition)
- INSTANT Mercurial SCM Essentials How-to
- 差分進(jìn)化算法及其高維多目標(biāo)優(yōu)化應(yīng)用
- 嚴(yán)密系統(tǒng)設(shè)計(jì):方法、趨勢(shì)與挑戰(zhàn)
- MATLAB GUI純代碼編寫從入門到實(shí)戰(zhàn)
- PyQt編程快速上手
- Java并發(fā)實(shí)現(xiàn)原理:JDK源碼剖析
- Python數(shù)據(jù)預(yù)處理技術(shù)與實(shí)踐
- Getting Started with Windows Server Security