Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmueller committed Feb 5, 2012
1 parent 41337f9 commit 5e51852
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
exports = module.exports = require('./lib/cheerio');

/*
Attach objects to cheerio
*/
exports.parse = require('./lib/parse');
exports.render = require('./lib/render');
exports.utils = require('./lib/utils');
Expand All @@ -10,4 +14,5 @@ var version = function() {
var pkg = require('fs').readFileSync(__dirname + '/package.json', 'utf8');
return JSON.parse(pkg).version;
};

exports.__defineGetter__('version', version);

0 comments on commit 5e51852

Please sign in to comment.