Hah! Yeah, that's why I went with "!!error" :)


On Wed, Jun 26, 2013 at 3:30 PM, Gareth Aye <notifications@github.com>wrote:

> In apps/calendar/js/views/first_time_use.js:
>
> > +     * months, days, weeks, etc in the time views.
> > +     *
> > +     * Automatically saves state so that the hint is only shown once.
> > +     *
> > +     * @param {Object} renderCallback - An optional callback indicating
> > +     *                                  whether or not the hint is showing
> > +     *                                  or not.
> > +     */
> > +    doFirstTime: function(renderCallback) {
> > +      // Read from the Setting store to figure out if we should be
> > +      // showing the hint or not.
> > +      this.store.getValue(
> > +        SWIPE_TO_NAVIGATE_HINT_KEY,
> > +        function(error, value) {
> > +          // Bail on error.
> > +          if(error !== null) {
>
> @lightsofapollo <https://github.com/lightsofapollo> eww ==
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla-b2g/gaia/pull/10615/files#r4904911>
> .
>