Open carson-drake opened 7 years ago
Right now the data check for badge can't distinguish between data["badge"] === 0, data["badge"] === false, and typeOf data["badge"] === undefined. It also doesn't allow for badges to be set in the background without an "alert" property.
data["badge"] === 0
data["badge"] === false
typeOf data["badge"] === undefined
Right now the data check for badge can't distinguish between
data["badge"] === 0
,data["badge"] === false
, andtypeOf data["badge"] === undefined
. It also doesn't allow for badges to be set in the background without an "alert" property.