Generator for Editor with NodeJS issues (for the developers)

Generator for Editor with NodeJS issues (for the developers)

tablotablo Posts: 58Questions: 13Answers: 0

I tested today Generator for Editor with NodeJS and I noticed 2 minor issues which I already fixed but it might be of interest for the developers. Both concern the generated index.js:

  • The line:

let db = require('./db');

is missing.

  • After:
    db.raw(query, bindings)

at the end of the file there is this line:
});
which shouldn't be there.

Answers

  • allanallan Posts: 62,211Questions: 1Answers: 10,205 Site admin

    That wasn't very clever of me - thanks for pointing them out. Fixed now :).

    Allan

This discussion has been closed.