Skip to content

Instantly share code, notes, and snippets.

@ericraio
Last active February 15, 2021 00:40

Revisions

  1. ericraio renamed this gist Oct 2, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ericraio created this gist Oct 2, 2013.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    ValueObject = function(value) {
    this.value = value;
    }

    $.extend(ValueObject.prototype, {
    get: function() {
    return this.value;
    }
    });