Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed UMD handler
  • Loading branch information
Dafrok authored Jul 27, 2017
commit 4c2f3fd253815e69653a21527c5c3846313b952e
2 changes: 1 addition & 1 deletion vue-touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
}
}

if (typeof exports == "object") {
if (typeof exports == "object" && typeof module !== 'undefined') {
module.exports = vueTouch
} else if (typeof define == "function" && define.amd) {
define([], function(){ return vueTouch })
Expand Down