Created
September 22, 2011 13:46
-
-
Save beshkenadze/1234804 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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