From 7617d8931aec153fd4148c16af5f98262ededaa4 Mon Sep 17 00:00:00 2001 From: Geoff Schmidt Date: Fri, 12 Jul 2013 17:36:40 -0700 Subject: [PATCH] Update docs, query, and showdown for namespacing --- docs/.meteor/packages | 1 + packages/jquery/package.js | 5 ++++- packages/showdown/package.js | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/.meteor/packages b/docs/.meteor/packages index cfb17d208a..90b56a07bc 100644 --- a/docs/.meteor/packages +++ b/docs/.meteor/packages @@ -11,3 +11,4 @@ jquery-waypoints less spiderable appcache +handlebars diff --git a/packages/jquery/package.js b/packages/jquery/package.js index 2125fac29c..14b8d7033b 100644 --- a/packages/jquery/package.js +++ b/packages/jquery/package.js @@ -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); }); diff --git a/packages/showdown/package.js b/packages/showdown/package.js index 960d272e42..cfc75b3904 100644 --- a/packages/showdown/package.js +++ b/packages/showdown/package.js @@ -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.