michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: exports.B = true; michael@0: exports.foo = "foo"; michael@0: michael@0: // Side-effect to detect if we attempt to re-execute this module. michael@0: if ("loadedB" in self) { michael@0: throw new Error("B has been evaluted twice"); michael@0: } michael@0: self.loadedB = true;