From ee4fc26533aa75ae438448a8eefc823506fe6d31 Mon Sep 17 00:00:00 2001 From: twidi Date: Mon, 18 Feb 2013 15:35:49 +0100 Subject: [PATCH] Add the service url for a gist comment --- gh3.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gh3.js b/gh3.js index 3528a4e..53e5dc7 100644 --- a/gh3.js +++ b/gh3.js @@ -656,6 +656,9 @@ */ this.gist = ghGist; Gh3.GistComment.__super__.constructor.call(this, gistCommentData); + }, + _service: function() { + return this.gist._service() + "/comments/" + this.id; } });