Skip to content

Instantly share code, notes, and snippets.

@scdekov
Created September 4, 2017 08:38
Show Gist options
  • Save scdekov/373eacf9509f6ea56c14a7e33737e009 to your computer and use it in GitHub Desktop.
Save scdekov/373eacf9509f6ea56c14a7e33737e009 to your computer and use it in GitHub Desktop.
(function() {
function Entity(id, data) {
this.id = id;
}
Entity.repo = new Repository(Entity, Constants.ENTITIES_LIST_URL);
Entity.prototype._load = function(data) {
};
window.Entity = Entity;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment