From 5ac91aa081f4db4681085b80cabe1d2697d874e7 Mon Sep 17 00:00:00 2001 From: Prashanth-Nelli Date: Fri, 22 May 2015 12:16:40 +0530 Subject: [PATCH] changed exports variable name to module because i thought that you want to assign Pace API object to module object as a exports property if it is an object. --- pace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {