Created
June 28, 2013 17:56
-
-
Save zachshallbetter/5886663 to your computer and use it in GitHub Desktop.
Wraping interface to plugins.
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
function Datepicker($el) { | |
this.$el = $el; | |
} | |
Datepicker.prototype = { | |
hide: function() { | |
this.$el.datepicker('hide'); | |
}, | |
show: function() { | |
this.$el.datepicker('show'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment