feature(config) api_url -> apiURL

This commit is contained in:
coderaiser 2013-11-11 13:07:52 +00:00
parent 4cf38c57b8
commit 34f2ed7338
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
"api_url": "/api/v1",
"apiURL": "/api/v1",
"appcache": false,
"analytics": true,
"localStorage": true,

View file

@ -211,7 +211,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
else
lData = p.data;
p.url = pConfig && pConfig.api_url + p.url,
p.url = pConfig && pConfig.apiURL + p.url,
Loader.ajax({
method : p.method,
url : p.url,

View file

@ -36,7 +36,7 @@
var lRet = main.checkParams(pParams);
if (lRet) {
var lAPIURL = main.config.api_url,
var lAPIURL = main.config.apiURL,
p = pParams;
lRet = Util.isContainStr(p.name, lAPIURL);