/*! * convert-base - Convert from one base to another: Hex, Binary, Decimal, Octal * @version v0.1.1 - Mon Sep 08 2014 * @link https://github.com/pasangsherpa/convert-base * @author Pasang Sherpa (https://github.com/pasangsherpa) * @license MIT */ !function(){"use strict";var e=function(){return{convert:function(e,n,t){16===n&&"string"!=typeof e&&(e=Number(e).toString(16));var o=parseInt(e,n);return isNaN(o)?o:(o=o.toString(t),10===t?~~o:o)}}};"function"==typeof define&&define.amd?define(function(){return e}):"undefined"!=typeof module&&module.exports?module.exports=e:window.ConvertBase=e}();