I should see which option results in fewer characters, for efficiency ;-)

- Matt

> On Feb 1, 2014, at 1:19, Fred Wenzel <notifications@github.com> wrote:
> 
> In dist/localForage.js:
> 
> > @@ -1277,7 +1304,7 @@ requireModule('promise/polyfill').polyfill();
> >              db.transaction(function (t) {
> >                  // Ahhh, SQL makes this one soooooo easy.
> >                  t.executeSql('SELECT COUNT(key) FROM localforage', [], function (t, results) {
> > -                    var result = results.rows.length;
> > +                    var result = results.rows.item(0)['COUNT(key)'];
> Interesting that websql actually uses that as the key here. I usually rename that column to not cause any mess with the parentheses.
> 
> —
> Reply to this email directly or view it on GitHub.