From 94f90807f7e74f35464e664f342e31818df5673c Mon Sep 17 00:00:00 2001 From: sairajzero Date: Sun, 3 Apr 2022 20:15:58 +0530 Subject: [PATCH] Update lib.js - Added support when floGlobals is undefined --- lib.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.js b/lib.js index e718943..80afa89 100644 --- a/lib.js +++ b/lib.js @@ -1,10 +1,10 @@ -(function(GLOBAL) { //lib v1.2.2 +(function(GLOBAL) { //lib v1.2.2a 'use strict'; /* Utility Libraries required for Standard operations * All credits for these codes belong to their respective creators, moderators and owners. * For more info (including license and terms of use), please visit respective source. */ - GLOBAL.cryptocoin = floGlobals.blockchain || 'FLO'; + GLOBAL.cryptocoin = (typeof floGlobals === 'undefined' ? null : floGlobals.blockchain) || 'FLO'; //Crypto.js (function() { @@ -6784,4 +6784,4 @@ })(); -})(typeof global !== "undefined" ? global : window); +})(typeof global !== "undefined" ? global : window); \ No newline at end of file