Skip to content

Commit

Permalink
Compatibility with requirejs optimizer namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ancosma authored and arschmitz committed Nov 11, 2015
1 parent 82dc623 commit 70075f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expose.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extend(Hammer, {
prefixed: prefixed
});

if (typeof define == TYPE_FUNCTION && define.amd) {
if (typeof define === 'function' && define.amd) {
define(function() {
return Hammer;
});
Expand Down

0 comments on commit 70075f2

Please sign in to comment.