Skip to content

Instantly share code, notes, and snippets.

@yahelc
Created May 21, 2012 17:20
Show Gist options
  • Save yahelc/2763386 to your computer and use it in GitHub Desktop.
Save yahelc/2763386 to your computer and use it in GitHub Desktop.
(function() {
var get=(function(){var map={};window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,k,v){map[k]=v;});return map;}());
if(get.source){
jQuery.getScript("http://ausnursing.bluestatedigital.com/page/spud?jsonp=callback&type=set&field=source&value="+get.source);
}
if(get.subsource){
jQuery.getScript("http://ausnursing.bluestatedigital.com/page/spud?jsonp=callback&type=set&field=subsource&value="+get.subsource);
}
})();
@jjandoc
Copy link

jjandoc commented May 21, 2012

Second URL is 404ing. Guessing that should be ../page/spud? ...

@yahelc
Copy link
Author

yahelc commented May 21, 2012

Yep, sorry. Not sure how that happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment