Skip to content

Instantly share code, notes, and snippets.

@mkuklis
Created December 18, 2012 08:52
Show Gist options
  • Save mkuklis/4326271 to your computer and use it in GitHub Desktop.
Save mkuklis/4326271 to your computer and use it in GitHub Desktop.
requirejs CommonJS style
define(function (require, exports, module) {
var lib1 = require('lib1');
var lib2 = require('lib2');
// your code goes here
// exports = ...;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment