Skip to content

Instantly share code, notes, and snippets.

@cmpscabral
Forked from ericraio/gist:6799520
Created October 9, 2013 16:14
Show Gist options
  • Save cmpscabral/6903827 to your computer and use it in GitHub Desktop.
Save cmpscabral/6903827 to your computer and use it in GitHub Desktop.
ValueObject = function(value) {
this.value = value;
}
$.extend(ValueObject.prototype, {
get: function() {
return this.value;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment