I\'m working on a project that (hopefully) involves taking advantage of some of the javascript that\'s already built into Facebook. But right away I\'ve got a roadblock in t
The function __d is API for RequireJS used to Define a Module.
__d
Example:
__d('Example', [], function a(b, c, d, e, f, g, h) { 'use strict'; if (c.__markCompiled) c.__markCompiled(); f.exports = { a: "Hello World" }; }, null);
Call:
require('Example');
Output:
Object {a: "Hello World"}