feature(util) rm isContainStr

This commit is contained in:
coderaiser 2014-10-28 09:41:14 -04:00
parent ad87145c42
commit 5d4db87a96
5 changed files with 10 additions and 46 deletions

View file

@ -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);