chore(dom) throw( -> throw

This commit is contained in:
coderaiser 2015-08-11 07:10:00 -04:00
parent 93e304f5d0
commit 8ae6e8b8cf

View file

@ -179,10 +179,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
var ret, classList;
if (!element)
throw(Error('element could not be empty!'));
throw Error('element could not be empty!');
if (!className)
throw(Error('className could not be empty!'));
throw Error('className could not be empty!');
classList = element.classList;
ret = classList.contains(className);
@ -1272,7 +1272,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
if (!panel)
throw(Error('can not find Active Panel!'));
throw Error('can not find Active Panel!');
return panel;
};