zepto-browserify

Shim repository for the Zepto.js JavaScript library for Browserify

npm install zepto-browserify
17 downloads in the last day
77 downloads in the last week
195 downloads in the last month

Zepto-browserify

This is a fork based on components/zepto.

npm install --save zepto-browserify
$ = require('zepto-browserify').$
Zepto = require('zepto-browserify').Zepto
$ === Zepto // true

How I made this:

git rm *json zepto.min.js Makefile
npm init
subl zepto.js
subl README.md
git diff zepto.js
-
-window.Zepto = Zepto
-'$' in window || (window.$ = Zepto)
-
-
-
+// @@ original loader
+// window.Zepto = Zepto
+// '$' in window || (window.$ = Zepto)
+// @@ modified by jiyinyiyong
+module.exports.$ = Zepto;
+module.exports.Zepto = Zepto;
+// @@ modifications end
npm loves you