Permalink
Browse files

asdf

  • Loading branch information...
1 parent f36327e commit 3df7753fa263d3c843e6b06715a93bd129dad78c Jason Byrne committed Nov 28, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
@@ -123,10 +123,11 @@ name (string) - name of the module
callback (function) - function to call back once loaded
Example:
-
+```javascript
Prereq.require('module', function(m){
console.log(m);
});
+```
**define(name, module)**
@@ -138,14 +139,15 @@ This should add to the exports object for anything desired to be made available
Example:
+```javascript
Prereq.define('module', function(exports){
exports.hello = {
world:true
};
});
-
+```
Next?
-------

0 comments on commit 3df7753

Please sign in to comment.