mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
23 lines
577 B
JavaScript
23 lines
577 B
JavaScript
Package.describe({
|
|
summary: "Session variable",
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.use(['underscore', 'reactive-dict', 'ejson'], 'client');
|
|
|
|
// XXX what I really want to do is ensure that if 'reload' is going to
|
|
// be loaded, it should be loaded before 'session'. Session can work
|
|
// with or without reload.
|
|
api.use('reload', 'client');
|
|
|
|
api.add_files('session.js', 'client');
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use('tinytest');
|
|
api.use('session', 'client');
|
|
api.use('deps');
|
|
api.add_files('session_tests.js', 'client');
|
|
});
|