changeset 381:88287a633755

import feed.js and twitter.js into the browser overlay so they get parsed and register themselves with the service on startup
author Myk Melez <myk@mozilla.org>
date Sat, 08 Nov 2008 10:31:37 -0800
parents 6916b17a0536
children 8460f746207e
files content/browser.js
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/content/browser.js	Sat Nov 08 10:31:05 2008 -0800
+++ b/content/browser.js	Sat Nov 08 10:31:37 2008 -0800
@@ -35,6 +35,11 @@
  *
  * ***** END LICENSE BLOCK ***** */
 
+// We have to import these here, even though we don't use them in this overlay,
+// so that they get parsed and register themselves with the service.
+Cu.import("resource://snowl/modules/feed.js");
+Cu.import("resource://snowl/modules/twitter.js");
+
 Cu.import("resource://snowl/modules/service.js");
 Cu.import("resource://snowl/modules/opml.js");