Skip to content

Instantly share code, notes, and snippets.

@rudylattae
Created August 25, 2011 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudylattae/1170044 to your computer and use it in GitHub Desktop.
Save rudylattae/1170044 to your computer and use it in GitHub Desktop.
Stub System.Gadget
if (typeof System === 'undefined') {
System = {
Gadget: {
settingsUI: '',
onSettingsClosed: function() {},
Settings: {
read: function (key) { return key; },
readString: function (key) { return key; }
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment