Permalink
Browse files

update bonzo's amd export

  • Loading branch information...
1 parent 66b23ca commit 1d00225ced126181140ba62058832a6952c98e3b @fat fat committed Oct 4, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 bonzo.js
  2. +1 −1 bonzo.min.js
  3. +1 −1 package.json
  4. +1 −1 src/bonzo.js
View
@@ -5,7 +5,7 @@
*/
!function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
- else if (typeof define == 'function') define(definition)
+ else if (typeof define == 'function' && typeof define.amd == 'object') define(definition)
else this[name] = definition()
}('bonzo', function() {
var context = this
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
"name": "bonzo"
, "description": "Library agnostic, extensible DOM utility"
- , "version": "0.7.3"
+ , "version": "0.7.4"
, "homepage": "https://github.com/ded/bonzo"
, "author": "Dustin Diaz <dustin@dustindiaz.com> (http://dustindiaz.com)"
, "keywords": ["ender", "dom", "nodes", "jquery", "iteration", "css"]
View
@@ -1,6 +1,6 @@
!function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
- else if (typeof define == 'function') define(definition)
+ else if (typeof define == 'function' && typeof define.amd == 'object') define(definition)
else this[name] = definition()
}('bonzo', function() {
var context = this

0 comments on commit 1d00225

Please sign in to comment.