Skip to content

Instantly share code, notes, and snippets.

@Swader
Created November 7, 2012 14:17
Show Gist options
  • Save Swader/4031859 to your computer and use it in GitHub Desktop.
Save Swader/4031859 to your computer and use it in GitHub Desktop.
Codeskulptor Autosave - Fancy Settings Manifest JS
window.manifest = {
"name": "Codeskulptor Autosave",
"icon": "../../icon48.png",
"settings": [
{
"tab": "Main settings",
"group": "Frequency settings",
"name": "freq",
"type": "slider",
"label": "Frequency in minutes:",
"min": 1,
"max": 100,
"step": 1,
"display": true,
"displayModifier": function (value) {
return value + "min";
},
"default": 3
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment