Skip to content

Instantly share code, notes, and snippets.

@jcbozonier
Created September 28, 2012 15:02
Show Gist options
  • Save jcbozonier/3800396 to your computer and use it in GitHub Desktop.
Save jcbozonier/3800396 to your computer and use it in GitHub Desktop.
window.ScreeningRoom = window.ScreeningRoom || {};
ScreeningRoom.AjaxHelper = function(){
this.siteRoot = "http://localhost:9292/";
this.restResources = {
"add_viewer": siteRoot + "drafts/addviewer",
"add_opinion": siteRoot + "drafts/addopinion"
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment