Update lib.js

- Added support when floGlobals is undefined
This commit is contained in:
sairajzero 2022-04-03 20:15:58 +05:30
parent b34ef8ca93
commit 94f90807f7

4
lib.js
View File

@ -1,10 +1,10 @@
(function(GLOBAL) { //lib v1.2.2 (function(GLOBAL) { //lib v1.2.2a
'use strict'; 'use strict';
/* Utility Libraries required for Standard operations /* Utility Libraries required for Standard operations
* All credits for these codes belong to their respective creators, moderators and owners. * 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. * 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 //Crypto.js
(function() { (function() {