diff --git a/colo.js b/colo.js
index <HASH>..<HASH> 100644
--- a/colo.js
+++ b/colo.js
@@ -38,7 +38,7 @@
       }
       console.log.apply(console, args);
     };
-    if (typeof define === 'undefined' && define.amd) {
+    if (typeof define !== 'undefined' && define.amd) {
       // amd
       define(function() {
         return {
Fixes check for AMD support.