mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
feature(util) rm isContainStr
This commit is contained in:
parent
ad87145c42
commit
5d4db87a96
5 changed files with 10 additions and 46 deletions
|
|
@ -62,7 +62,7 @@ var CloudCmd, Util, join, DOM, CloudFunc, Github, cb;
|
|||
if (!code)
|
||||
code = window.location.search;
|
||||
|
||||
isContain = Util.isContainStr(code, '?code=');
|
||||
isContain = ~code.indexOf('?code=');
|
||||
|
||||
if (!isContain)
|
||||
DOM.openWindow(URL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue