fix(view) getType: add return

This commit is contained in:
coderaiser 2014-05-20 04:20:14 -04:00
parent c952992462
commit e06041f613

View file

@ -192,6 +192,8 @@ var CloudCmd, Util, DOM, CloudFunc, $;
type = 'image';
else if (isMedia(name))
type = 'media';
return type;
}
function getMediaElement(src, callback) {