Skip to content

Instantly share code, notes, and snippets.

@misener misener/gist:3895979
Created Oct 15, 2012

What would you like to do?
Kickstarter currency support
<script id="schwamm_formatting_options" type="text/javascript">
(function(){window.formatters = window.formatters || {}; var formatting_options = {"distance_date_intervals":[[5,"just now"],[29,"less than a minute ago"],[89,"1 minute ago"],[2640,"%m minutes ago"],[5340,"about 1 hour ago"],[82800,"about %h hours ago"],[147600,"1 day ago"],[604800,"%d days ago"],[15552000,"on %t"],[0,"on %y"]],"currency_symbol_mappings":{"USD":"$","GBP":"\u00a3","EUR":"\u20ac","JPY":"\u00a5"}}; for (key in formatting_options) {window.formatters[key] = formatting_options[key]};}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.