Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use regex for e.touches replacement

Was not firing globally before, this fixes tests.
  • Loading branch information...
commit 1a6323daee43457ade7441dd885b6221fa19b0e4 1 parent 9a86124
@davidkaneda davidkaneda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Gruntfile.coffee
View
2  Gruntfile.coffee
@@ -126,7 +126,7 @@ module.exports = (grunt) ->
# Convert Zepto's touch class to work for jQuery
processContent: (content) ->
content
- .replace('e.touches', '(e.originalEvent||e).touches')
+ .replace(/e\.touches/g, '(e.originalEvent||e).touches')
.replace('(Zepto)', '(jQuery)')
files:
Please sign in to comment.
Something went wrong with that request. Please try again.