Skip to content

Instantly share code, notes, and snippets.

@Radagaisus
Created March 19, 2014 18:02
Show Gist options
  • Select an option

  • Save Radagaisus/9647597 to your computer and use it in GitHub Desktop.

Select an option

Save Radagaisus/9647597 to your computer and use it in GitHub Desktop.
How To Customize the Name of Points in Captain Up
// Asynchronous wrapper around the function, to make sure Captain
// Up has loaded completely.
captain.up(function() {
// Set the points string
captain.l.points = "XP";
// Set the shorthand name
captain.l.shorthand_points = "XP";
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment