Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Common.js require definition.
branch: master

Merge pull request #6 from chrismcv/master

fix definition for components that have a non-standard 'main' entry poin...
latest commit 847ae33fc3
Paul Miller paulmillr authored
Failed to load latest commit information.
CHANGELOG.md Release 0.1.2.
LICENSE Initial import.
README.md Initial import.
bower.json Release 0.1.2.
node.js Initial import.
package.json
require.js fix definition for components that have a non-standard 'main' entry p…

README.md

Common.js require definition

Simple common.js require() definition.

Usage

Include on top of your file and register modules with require.register(name, fn)

API

  • require(name) — loads registered module and returns its exports.
  • require.register(name, fn) — registers new module. fn should have signature exports, require, module.
  • require.list() — lists all registered modules.

License

MIT

Copyright (c) 2013 Paul Miller (http://paulmillr.com/)

Something went wrong with that request. Please try again.