Skip to content

Commit 70075f2

Browse files
ancosmaarschmitz
authored andcommitted
Compatibility with requirejs optimizer namespaces
http://requirejs.org/docs/faq-optimization.html#namespace
1 parent 82dc623 commit 70075f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expose.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extend(Hammer, {
5050
prefixed: prefixed
5151
});
5252

53-
if (typeof define == TYPE_FUNCTION && define.amd) {
53+
if (typeof define === 'function' && define.amd) {
5454
define(function() {
5555
return Hammer;
5656
});

0 commit comments

Comments
 (0)