[Pkg-javascript-commits] [node-randomfill] 20/47: fix(cosmetic): whitespace after if.

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:52:52 UTC 2017


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

rouca pushed a commit to branch master
in repository node-randomfill.

commit e4d812544bce8a1275035089b991ae1ba3648c52
Author: pernas <jaume at pernas.cat>
Date:   Fri Feb 26 15:27:11 2016 -0500

    fix(cosmetic): whitespace after if.
---
 browser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/browser.js b/browser.js
index a181c37..1aa3edc 100644
--- a/browser.js
+++ b/browser.js
@@ -20,7 +20,7 @@ function randomBytes (size, cb) {
 
   // This will not work in older browsers.
   // See https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues
-  if(size > 0) {  // getRandomValues fails on IE if size == 0
+  if (size > 0) {  // getRandomValues fails on IE if size == 0
     crypto.getRandomValues(rawBytes)
   }
   // phantomjs doesn't like a buffer being passed here

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-randomfill.git



More information about the Pkg-javascript-commits mailing list