Skip to content

Instantly share code, notes, and snippets.

@captainill
Created May 24, 2011 20:05
Show Gist options
  • Save captainill/989560 to your computer and use it in GitHub Desktop.
Save captainill/989560 to your computer and use it in GitHub Desktop.
DS prehack
if(!parent.window.prRefs){parent.window.prRefs={};};parent.window.prSet=function (n,v){if((typeof(n)!='undefined')&&(typeof(v)!='undefined')){parent.window.prRefs[n]=v;}};parent.window.prGet=function (n){if(typeof(parent.window.prRefs[n])!='undefined'){return parent.window.prRefs[n];}else{return null;}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment