| /* This file is created by running make-ndn-js.jsm.sh in this directory. |
| * It concatenates ndn-js-header.txt with all the ndn-js source files to |
| * See COPYING for copyright and distribution information. |
| var EXPORTED_SYMBOLS = ["NDN", "Closure", "Name", "Interest", "ContentObject", |
| "DataUtils", "MimeTypes"]; |
| Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); |
| Components.utils.import("resource://gre/modules/NetUtil.jsm"); |
| // LOG is used by some of the NDN code. |
| // jsbn.js needs the navigator object which isn't defined in XPCOM, so make a local hack. |
| // Some code calls console.log without checking LOG>0. Until this is cleaned up, make a local hack console. |