Last active
August 14, 2019 21:17
-
-
Save matthewstokeley/56e428a4081bbc9bcc85767a779b42b9 to your computer and use it in GitHub Desktop.
maintaining backwards compatibility
This file contains 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
/** | |
* @version 0.0.1 | |
*/ | |
class GenericUIComponent | |
{ | |
constructor( options ) { | |
this.className = options.className | |
} | |
// provide a jQuery wrapper | |
$( _item ) { | |
this.$item = $( _item ); | |
return this | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment