Permalink
Browse files

actual support for requirejs and amd

  • Loading branch information...
1 parent 868db53 commit d757fe64026b93bfde2a55c5f4f6ed8bf456ca99 @ded committed Nov 26, 2012
Showing with 2,018 additions and 5 deletions.
  1. +1 −1 bonzo.js
  2. +1 −1 bonzo.min.js
  3. +1 −1 component.json
  4. +1,993 −0 integration/external/require.js
  5. +20 −0 integration/require.js.html
  6. +1 −1 package.json
  7. +1 −1 src/bonzo.js
View
@@ -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
View
Oops, something went wrong.
View
@@ -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": [
Oops, something went wrong.

0 comments on commit d757fe6

Please sign in to comment.