From b92191b43c87e6649cab30f467506c799b4fb99b Mon Sep 17 00:00:00 2001 From: Aran Deltac Date: Sun, 14 Apr 2013 08:24:45 -0700 Subject: [PATCH] Fix trailing commas in o-attribute.js breaking minification. --- CHANGES.txt | 3 +++ o-attribute.js | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index e4beb20..37b2d42 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +0.0.5 : 2013-04-14 + - Fix trailing commas in o-attribute.js breaking minification. + 0.0.4 : 2013-04-14 - Remove the option definition property. - Rename o.extend to o.augment. diff --git a/o-attribute.js b/o-attribute.js index 95f9d4a..386a6f9 100644 --- a/o-attribute.js +++ b/o-attribute.js @@ -59,7 +59,7 @@ filter: function (val) { if (val === true) val = 'clear' + ucFirst( this.key() ); return val }, devoid: function () { return null } }, - proxies: { type: o.objectOfType( o.nonEmptyStringType() ) }, + proxies: { type: o.objectOfType( o.nonEmptyStringType() ) } }; var writers = {}; @@ -100,7 +100,7 @@ type: this.type(), filter: this.filter(), augments: this.augments(), - chain: this.chain(), + chain: this.chain() } ); } @@ -112,7 +112,7 @@ this.valueKey(), { writer: this.writerMethod(), - reader: this.readerMethod(), + reader: this.readerMethod() } ); }