URLS.put("getDjangoPackages", JSvarHandler.getRepoBaseURL() + djangoPackagesURL);
}
private void registerHandlers(){
eventBus.addHandler(AsyncRequestEvent.TYPE,
new AsyncRequestEventHandler(){
public void onAsyncRequest(AsyncRequestEvent event){
if( event.hasUrlVariable() ){
getJson(URL.encode(URLS.get(event.getRequestHandle()).replaceAll("<placeHolder>", event.getUrlVariable())), event.getRequestHandle());
} else {
getJson(URL.encode(URLS.get(event.getRequestHandle()).replaceAll("/<placeHolder>", "")), event.getRequestHandle());