mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(dom) throw( -> throw
This commit is contained in:
parent
93e304f5d0
commit
8ae6e8b8cf
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue