Permalink
Browse files

drop domready example in favor of gamma

  • Loading branch information...
1 parent da0e807 commit 66b99b9e7f0ef52c2a39364f502c010afa6ed47a @substack committed Nov 9, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 README.markdown
View
@@ -18,13 +18,12 @@ Just write an `entry.js` to start with some `require()`s in it:
var foo = require('./foo');
var bar = require('../lib/bar');
-// or use modules installed by npm in node_modules/
-var domready = require('domready');
+// or use modules installed by npm into node_modules/
+var gamma = require('gamma');
-domready(function () {
- var elem = document.getElementById('result');
- elem.textContent = foo(100) + bar('baz');
-});
+var elem = document.getElementById('result');
+var x = foo(100) + bar('baz');
+elem.textContent = gamma(x);
````
Now just use the `browserify` command to build a bundle starting at `entry.js`:

0 comments on commit 66b99b9

Please sign in to comment.