1202 programming in coffeescript

309 77 0
1202 programming in coffeescript

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

... Creating Cake Tasks 162 Running Cake Tasks 163 Using Options 163 Invoking Other Tasks 167 Wrapping Up 169 Notes 170 testing with Jasmine 171 Installing Jasmine 172 Setting Up Jasmine 172 Introduction... Keyword Wrapping Up Notes 121 classes 119 120 123 Defining Classes 123 Defining Functions 125 The constructor Function www.it-ebooks.info 126 86 ix x Programming in CoffeeScript Scope in Classes... 218 Setting Up MongoDB Using Mongoose 222 Writing the Todo API 225 Querying with Mongoose 226 Finding All Todos 227 Creating New Todos 228 Getting, Updating, and Destroying a Todo 230 Cleaning Up

Ngày đăng: 11/07/2018, 16:12

Từ khóa liên quan

Mục lục

  • Table of Contents

  • Dedication

  • Acknowledgments

  • About the Author

  • Preface

    • What Is CoffeeScript?

    • Who Is This Book For?

    • How to Read This Book

    • How This Book Is Organized

      • Part I: Core CoffeeScript

      • Part II: CoffeeScript in Practice

      • Installing CoffeeScript

      • How to Run the Examples

      • Notes

      • Part I: Core Coffeescript

        • 1 Getting Started

          • The CoffeeScript REPL

          • In-Browser Compilation

          • Caveats

          • Command-Line Compilation

          • The CoffeeScript CLI

          • Wrapping Up

          • Notes

          • 2 The Basics

            • Syntax

Tài liệu cùng người dùng

Tài liệu liên quan