Jeff Thompson | ec4036b | 2012-11-24 23:17:55 -0800 | [diff] [blame] | 1 | /* This file is created by running make-ndn-js.js.sh in this directory. |
| 2 | * It concatenates ndn-js-header.txt plus all the ndn-js source files plus |
| 3 | * ndn-js-footer.txt to make ndn-js.js . |
| 4 | * author: Jeff Thompson |
| 5 | * See COPYING for copyright and distribution information. |
| 6 | */ |
| 7 | |
| 8 | // LOG is used by some of the NDN code. |
| 9 | var LOG = 0; |
| 10 | |
| 11 | // jsbn.js needs the navigator object which isn't defined in Node, so make a local hack. |
| 12 | var navigator = { |
| 13 | appName: "Netscape" |
| 14 | }; |
| 15 | |