- KnockoutJS Blueprints
- Carlo Russo
- 212字
- 2021-07-23 20:27:34
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: "We can include other contexts through the use of the include
directive."
A block of code is set as follows:
myViewModel.categories = ko.computed(function() { var results = myViewModel.allCategories(), filterByCategory = myViewModel.selectedCategory(); if (filterByCategory) { results = ko.utils.arrayFilter(results, function(category) { return category.name === filterByCategory; }); } return results; });
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
var myViewModel = { allCategories: ko.observableArray([]), selectedCategory: ko.observable(), selectedName: ko.observable("") };
Any command-line input or output is written as follows:
# npm install –g http-server
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: "Here we get the starting page, with an Error loading page."
- Mastering Ext JS(Second Edition)
- OpenDaylight Cookbook
- JavaScript:Functional Programming for JavaScript Developers
- C語言程序設(shè)計實訓(xùn)教程
- 你必須知道的204個Visual C++開發(fā)問題
- PostgreSQL Replication(Second Edition)
- 快人一步:系統(tǒng)性能提高之道
- Kotlin編程實戰(zhàn):創(chuàng)建優(yōu)雅、富于表現(xiàn)力和高性能的JVM與Android應(yīng)用程序
- Delphi開發(fā)典型模塊大全(修訂版)
- PHP項目開發(fā)全程實錄(第4版)
- 少兒編程輕松學(xué)(全2冊)
- Design Patterns and Best Practices in Java
- 第五空間戰(zhàn)略:大國間的網(wǎng)絡(luò)博弈
- Laravel 5.x Cookbook
- VC++ 2008專題應(yīng)用程序開發(fā)實例精講