Files
meteor/packages/appcache/package.js
David Glasser 2d827e74fc Factor webapp-specific stuff (and keepalive) out of boot.js into webapp package.
Replace type: "bare" with type: "server" in attributes.json.  This now just
means "only make one server process" rather than controlling the boot script.

Programs that are type: "traditional" that want to be a webapp now need to
explicitly depend on the webapp package.
2013-05-13 11:58:58 -07:00

13 lines
345 B
JavaScript

Package.describe({
summary: "enable the application cache in the browser"
});
Package.on_use(function (api) {
api.use('webapp', 'server');
api.use('reload', 'client');
api.use('routepolicy', 'server');
api.use('startup', 'client');
api.add_files('appcache-client.js', 'client');
api.add_files('appcache-server.js', 'server');
});