feature(util) rm rmStr

This commit is contained in:
coderaiser 2015-01-12 10:36:54 -05:00
parent b8d146c62e
commit a1daf8e884
5 changed files with 7 additions and 46 deletions

View file

@ -58,7 +58,7 @@ var CloudCmd, Util, join, DOM, CloudFunc, Github, cb;
DOM.load.ajax({
type : 'put',
url : apiURL + '/auth',
data : Util.rmStr(code, '?code='),
data : code.replace('?code=', ''),
success : function(data) {
var token = Util.json.parse(data).data.token;