aboutsummaryrefslogtreecommitdiff
path: root/src/shell_sharedlib.js
blob: a2956c24e17cddfdcac3afcf27eb427f3966d665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Capture the output of this into a variable, if you want
(function(FUNCTION_TABLE_OFFSET, parentModule) {
  var Module = {};
  var args = [];
  Module.arguments = [];
  Module.print = parentModule.print;
  Module.printErr = parentModule.printErr;

  {{BODY}}

  // {{MODULE_ADDITIONS}}

  return Module;
});