Skip to content

Instantly share code, notes, and snippets.

@albohlabs
Created March 6, 2012 22:19
Show Gist options
  • Select an option

  • Save albohlabs/1989392 to your computer and use it in GitHub Desktop.

Select an option

Save albohlabs/1989392 to your computer and use it in GitHub Desktop.

Revisions

  1. Daniel Gräber created this gist Mar 6, 2012.
    4 changes: 4 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    var scr = document.createElement('script');
    // When the script runs, it'll pass the data into the formatCurrency function. Excellent.
    scr.src = 'http://openexchangerates.org/latest.json?callback=formatCurrency';
    document.body.appendChild(scr);