Skip to content

Commit

Permalink
actual support for requirejs and amd
Browse files Browse the repository at this point in the history
  • Loading branch information
ded committed Nov 26, 2012
1 parent 868db53 commit d757fe6
Show file tree
Hide file tree
Showing 7 changed files with 2,018 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bonzo.js
Expand Up @@ -5,7 +5,7 @@
*/
(function (name, context, definition) {
if (typeof module != 'undefined' && module.exports) module.exports = definition()
else if (typeof context['define'] == 'function' && context['define']['amd']) define(name, definition)
else if (typeof context['define'] == 'function' && context['define']['amd']) define(definition)
else context[name] = definition()
})('bonzo', this, function() {
var win = window
Expand Down
2 changes: 1 addition & 1 deletion bonzo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion component.json
@@ -1,7 +1,7 @@
{
"name": "bonzo"
, "description": "Library agnostic, extensible DOM utility"
, "version": "1.2.8"
, "version": "1.3.0"
, "homepage": "https://github.com/ded/bonzo"
, "author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)"
, "contributors": [
Expand Down

0 comments on commit d757fe6

Please sign in to comment.