BHV-11798: PopupSample: Error: Out of memory!
Enyo-DCO-1.1-Signed-off-by: Krishna Rangarajan <krishna.rangarajan@lge.com>
BHV-11798: allowing 0, checking for NaN, null and undefined
Merge pull request #1485 from enyojs/BHV-11798-krishnarangarajan

BHV-11798: PopupSample: Error: Out of memory!

Looks good!

Reviewed-by: Aaron Tam (aaron.tam@lge.com)