Slot allocator Javascript fix. This prevents from calling updateFromJSON function if there is no data.
Slot allocator Javascript fix. This prevents from calling updateFromJSON function if there is no data.

Patch by: Mario Ferraro
Reviewed by: Pawel Solyga

--HG--
extra : convert_revision : svn%3A32761e7d-7263-4528-b7be-7235b26367ec/trunk%402647

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son