Skip to content

Instantly share code, notes, and snippets.

@beshkenadze
Created September 22, 2011 13:46
Show Gist options
  • Save beshkenadze/1234804 to your computer and use it in GitHub Desktop.
Save beshkenadze/1234804 to your computer and use it in GitHub Desktop.
var valueClass = new Class({
//implements
Implements: [Options],
//options
options: {
yourOption: ''
},
//initialization
initialize: function(options) {
//set options
this.setOptions(options);
},
//a method that does whatever you want
yourMethod: function() {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment