Skip to content

Commit

Permalink
add ability to hook into existing context ender
Browse files Browse the repository at this point in the history
  • Loading branch information
ded committed Jul 23, 2011
1 parent 50f61e8 commit 75f750a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ender.js
Expand Up @@ -79,6 +79,6 @@

(typeof module !== 'undefined') && module.exports && (module.exports = ender);
// use subscript notation as extern for Closure compilation
context['ender'] = context['$'] = ender;
context['ender'] = context['$'] = context['ender'] || ender;

}(this);
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "ender-js",
"description": "no-library library",
"version": "0.2.7",
"version": "0.2.8",
"authors": ["Dustin Diaz <@ded>", "Jacob Thornton <@fat>"],
"keywords": ["ender", "modules", "library", "framework", "packager"],
"main": "./ender.js",
Expand Down

0 comments on commit 75f750a

Please sign in to comment.