fixes some breaking changes from last nights PR

This commit is contained in:
andygup 2014-02-25 09:46:35 -07:00
parent d37c5f405c
commit 60c13f494e
4 changed files with 5 additions and 8 deletions

View File

@ -86,7 +86,10 @@ define([
}
else
{
return {"attachmentInfos":[]};
//Needs to return a deferred
//TODO we should check if the objectId resides in local database
var deferred = new Deferred();
return deferred;
}
}

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*"
logFile="proxy_log.log"
mustMatch="true">
<serverUrls>
<serverUrl url="http://services.arcgisonline.com"

View File

@ -1,5 +0,0 @@
02-25-14 01:04:21 | FILES detected
02-25-14 01:04:22 | Ok to proxy
02-25-14 01:04:22 | Proxy complete

View File

@ -159,7 +159,7 @@ describe("offline enabler library", function()
g_basemapLayer.goOffline();
var offlineUrl = fakeTile.src = g_basemapLayer.getTileUrl(14,6178,8023);
expect(offlineUrl).toEqual('void:14-6178-8023');
expect(offlineUrl).toEqual('void:/14/6178/8023');
done();
})
});