gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-backoffice] branch master updated: using 'typeof' to


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] branch master updated: using 'typeof' to check objects exist
Date: Fri, 12 Jan 2018 14:25:43 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new ebcd6e3  using 'typeof' to check objects exist
ebcd6e3 is described below

commit ebcd6e3d881fdb3db0894e402d40ddaf602137cd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 12 14:25:18 2018 +0100

    using 'typeof' to check objects exist
---
 js/backoffice.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/backoffice.js b/js/backoffice.js
index 400c97e..902c0e2 100644
--- a/js/backoffice.js
+++ b/js/backoffice.js
@@ -518,6 +518,6 @@ document.onkeydown = function(e) {
   }
 }
 
-if (module.exports)
+if (typeof(module.exports) != "undefined")
   module.exports.track_transfer = track_transfer;
   module.exports.track_order = track_order;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]