Skip to content

shinygang/commonjs-zepto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This is a fork based on madrobby/zepto.

npm install --save commonjs-zepto
import $ from 'commonjs-zepto'

How I made this:

git rm *json zepto.min.js Makefile
npm init
subl zepto.js
subl README.md
git diff zepto.js
+// @@ modified by shinygang
+ else if (typeof exports === 'object')
+   module.exports = factory(global)
+// @@ modifications end

About

让zepto库支持commonjs规范

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published