Dokument

Helpers

Latency Compensation

Metode

MiniMongo

Pakke

Publikation

Server

Session

Subscription

Template

Template Data Context

Creating a Meteorite Package

Sidebar9.5

Percentage Translated

In this chapter, you will:

Write a local in-app package.

Write some tests for your package.

Release your package on Atmosphere.

////

////

////

Package.describe({summary:"A pattern to display application errors to the user"});Package.on_use(function(api,where){api.use(['minimongo','mongo-livedata','templating'],'client');api.add_files(['errors.js','errors_list.html','errors_list.js'],'client');if(api.export)api.export('Errors');});