mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
19 lines
381 B
JavaScript
19 lines
381 B
JavaScript
Package.describe({
|
|
summary: "Register callbacks on a hook",
|
|
version: '1.0.10-beta.13'
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
api.use('underscore', ['client', 'server']);
|
|
|
|
api.export('Hook');
|
|
|
|
api.addFiles('hook.js', ['client', 'server']);
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use('callback-hook');
|
|
api.use('tinytest');
|
|
api.addFiles('hook_tests.js', 'server');
|
|
});
|