Skip to content

Commit

Permalink
Added AMD shim file.
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonbrander committed Dec 10, 2011
1 parent 897ac12 commit 877bc13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/amd.js
@@ -0,0 +1,5 @@
/* Register as AMD module.
See https://github.com/madrobby/zepto/pull/342 */
if (typeof define === 'function' && define.amd) {
define(function() { return Zepto; });
}

0 comments on commit 877bc13

Please sign in to comment.