Skip to content
Browse files

Added AMD shim file.

  • Loading branch information...
1 parent 897ac12 commit 877bc13affec3e9fd527ac6ce411bf94843a13d1 @gordonbrander committed Dec 10, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/amd.js
View
5 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.
Something went wrong with that request. Please try again.