Update docs, query, and showdown for namespacing

This commit is contained in:
Geoff Schmidt
2013-07-12 17:36:40 -07:00
parent d2eb68c60b
commit 7617d8931a
3 changed files with 6 additions and 1 deletions

View File

@@ -11,3 +11,4 @@ jquery-waypoints
less
spiderable
appcache
handlebars

View File

@@ -2,6 +2,9 @@ Package.describe({
summary: "Manipulate the DOM using CSS selectors"
});
Package.on_use(function (api) {
Package.on_use(function (api, where) {
api.add_files('jquery.js', 'client');
api.exportSymbol('$', where);
api.exportSymbol('jQuery', where);
});

View File

@@ -13,6 +13,7 @@ Package.on_use(function (api, where) {
where = where instanceof Array ? where : [where];
api.add_files("showdown.js", where);
api.exportSymbol('Showdown', where);
// XXX what we really want to do is, load template-integration after
// handlebars, iff handlebars was included in the project.