Skip to content

Commit 7dca838

Browse files
committed
remove touch module from build
1 parent 3c7c9c1 commit 7dca838

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Zepto.js](https://github.com/madrobby/zepto) custom build used by [Clappr player](https://github.com/clappr/clappr).
44

5-
Zepto is build with `ajax callbacks deferred event ie selector touch zepto` modules.
5+
Zepto is build with `ajax callbacks deferred event ie selector zepto` modules.
66

77
## Building
88

scripts/build-clappr-zepto

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ SCRIPT_FILE=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd)/`basename "${BASH_SOURCE[
55
SCRIPT_DIR=$(dirname "${SCRIPT_FILE}")
66
SCRIPT_NAME=$(basename "$SCRIPT_FILE")
77

8-
ZEPTO_MODULES="ajax callbacks deferred event ie selector touch zepto"
8+
if [[ -z "$ZEPTO_MODULES" ]]; then
9+
ZEPTO_MODULES="ajax callbacks deferred event ie selector zepto"
10+
fi
11+
912
OUTPUT_PATH=$CURRENT_DIR # Default is current folder
1013
COMMIT=""
1114

0 commit comments

Comments
 (0)