Oli

Results 164 comments of Oli

@gabeio thanks

Bump. It would be nice if there was something in the docs on using es6 class syntax.

Strange, which static functions don't get inherited? Just glanced at the code and couldn't see anything funky. The `extend()` method just seems to create a new constructor and copy passed...

Yeah, just converted some models using the method you used above and getting weird errors. ``` javascript sql: 'insert into "outputs" ("0", "position", "tx_hash") values ($1, $2, $3)', returning: undefined...

Oops, the problem was that I did: ``` constructor(...args) { super(args); } ``` instead of ``` constructor(...args) { super(...args); } ```

Ok all the tests pass. Will give an update if I encounter problems.

Yes, I ended up doing something like this: ``` javascript const corsMiddleware = cors() router.use((req, res, next) => { if (req.path.match(/^\/auth\/connect\//)) { // let later cors middleware handle it! return...

I'm not sure I understand what the use case is but wouldn't just touching the files to exclude before COPY solve the problem? ``` Dockerfile RUN touch /app/node_modules COPY ....

Oops, never mind that, looks like `COPY` actually overwrites files. I'm now a bit puzzled by https://nodejs.org/en/docs/guides/nodejs-docker-webapp/ which npm installs and then does a `COPY . /usr/src/app`. I guess it...

It writes the setting correctly, but it won't speed up the animation when swiping with 3 fingers to mission control. Used to work before upgrading to Sierra.