This topic contains 2 replies, has 2 voices, and was last updated by  gdbtek 1 year, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #101

    gdbtek
    Participant

    on page 184:

    app.use(express.session({ store: new RedisStore }));

    shouldn’t it be. I got error notification from jslint

    app.use(express.session({ store: new RedisStore() }));

    #119

    Yaapa
    Keymaster

    Not really errata, it is a common practice for instantiating a class which does not require any arguments. If JSLint does not give you an option for making this optional, you could try JSHint – http://www.jshint.com/ – it is the more customizable fork of JSLint.

    #121

    gdbtek
    Participant

    Thanks Yaapa

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.