[mb-commits] branch, beta, updated. Silence complaints about trailing commas

MusicBrainz Git Server <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1TTf7b-0000oE-Gv@wiley>
The branch, beta has been updated
       via  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=27eeb63dfdd5a015861aed7628382877474d9e00 (commit)
      from  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=8e63a3a25949fa11bc1d637f89859a66c4e6bd3c (commit)

Summary of changes:
 .../scripts/relationship-editor/Relationship.js    |    2 +-
 root/static/scripts/tests/RelationshipEditor.js    |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 27eeb63dfdd5a015861aed7628382877474d9e00
Author: Michael Wiencek <[email protected]>
Date:   Wed Oct 31 20:38:10 2012 +0000

    Silence complaints about trailing commas

diff --git a/root/static/scripts/relationship-editor/Relationship.js b/root/static/scripts/relationship-editor/Relationship.js
index 549b810..1b37fea 100644
--- a/root/static/scripts/relationship-editor/Relationship.js
+++ b/root/static/scripts/relationship-editor/Relationship.js
@@ -88,7 +88,7 @@ Relationship.prototype.toJS = function() {
         period: {
             begin_date: ko.toJS(this.period.begin_date),
             end_date:   ko.toJS(this.period.end_date),
-            ended:      this.period.ended.peek(),
+            ended:      this.period.ended.peek()
         },
         attrs:  ko.toJS(this.attrs),
         entity: [this.entity[0].peek().toJS(), this.entity[1].peek().toJS()]
diff --git a/root/static/scripts/tests/RelationshipEditor.js b/root/static/scripts/tests/RelationshipEditor.js
index 9a93408..eab800e 100644
--- a/root/static/scripts/tests/RelationshipEditor.js
+++ b/root/static/scripts/tests/RelationshipEditor.js
@@ -303,7 +303,7 @@ $.extend(MB.text = MB.text || {}, {
         release:       "Release",
         release_group: "Release group",
         url:           "URL",
-        work:          "Work",
+        work:          "Work"
     },
     AttributeNotSupported: "This attribute is not supported for the selected relationship type.",
     AttributeTooMany: "This attribute can only be specified {max} times. You specified {n}.",
@@ -333,7 +333,7 @@ MB.tests.RelationshipEditor.Util = function() {
             },
             {date: "1999", expected: {
                 year: "1999", month: null, day: null}
-            },
+            }
         ];
 
         $.each(tests, function(i, test) {
@@ -354,7 +354,7 @@ MB.tests.RelationshipEditor.Util = function() {
             {root: Util.attrInfo(14), value: 1, expected: [1]},
             {root: Util.attrInfo(14), value: [3, 3, 2, 2, 1, 1], expected: [1, 2, 3]},
             {root: Util.attrInfo(14), value: ["3", "3", "2", "2", "1", "1"], expected: [1, 2, 3]},
-            {root: Util.attrInfo(14), value: ["1", 0, "9", 0, "5"], expected: [1, 5, 9]},
+            {root: Util.attrInfo(14), value: ["1", 0, "9", 0, "5"], expected: [1, 5, 9]}
         ];
 
         $.each(tests, function(i, test) {
@@ -393,7 +393,7 @@ MB.tests.RelationshipEditor.Fields = function() {
             {input: 0, expected: 0},
             {input: 12, expected: 12},
             {input: "0", expected: 0},
-            {input: "012", expected: 12},
+            {input: "012", expected: 12}
         ];
 
         $.each(tests, function(i, test) {
@@ -423,7 +423,7 @@ MB.tests.RelationshipEditor.Fields = function() {
             {
                 input: {cover: 1, instrumental: 0, live: 1},
                 expected: {partial: false, live: true, instrumental: false, cover: true}
-            },
+            }
         ];
 
         $.each(tests, function(i, test) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.