This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var BarMonitor = BarMonitor || (function() { | |
| 'use strict'; | |
| var version = '0.1', | |
| lastUpdate = 1484779400, | |
| attrUpdate = function(obj,bar) | |
| { | |
| var link = obj.get(bar+"_link"); | |
| var value = obj.get(bar+"_value"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var HLImport = HLImport || (function() { | |
| 'use strict'; | |
| var parseNum = function(num) | |
| { | |
| if (_.isUndefined(num) || num === "") | |
| return 0; | |
| return (parseInt(num) || 0); | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getCharacterObj(obj) { | |
| "use strict"; | |
| //send any object and returns the associated character object | |
| //returns character object for attribute, token/graphic, and ability, and... character | |
| var objType = obj._type, | |
| att, characterObj, tok; | |
| if ((objType !== "attribute") && (objType !== "graphic") && (objType !== "character")) { |
OlderNewer