Skip to content

Commit 1e4fe96

Browse files
committed
also support zepto
1 parent eb48483 commit 1e4fe96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ bower install payform --save
9191
</script>
9292
```
9393

94-
### jQuery Plugin
94+
### jQuery Plugin (also supports Zepto)
9595

9696
This library also includes a jquery plugin. The primary `payform` object
9797
can be found at `$.payform`, and there are jquery centric ways to utilize the [browser

src/jquery.payform.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
payform = require './payform'
22

3-
do ($ = jQuery) ->
3+
do ($ = window.jQuery || window.Zepto) ->
44

55
$.payform = payform
66
$.payform.fn =

0 commit comments

Comments
 (0)