diff --git a/pace.js b/pace.js index c7efc2fc..00e412fe 100644 --- a/pace.js +++ b/pace.js @@ -924,7 +924,7 @@ define(['pace'], function() { return Pace; }); - } else if (typeof exports === 'object') { + } else if (typeof module === 'object') { module.exports = Pace; } else { if (options.startOnPageLoad) {