Nick Perkins

Results 8 issues of Nick Perkins

Thank-you so much for Coffee-Lint, I love it! Just one small request... The following code gives the "Fat Arrow" warning for "do_it_twice", but this is incorrect. The function is already...

How about catching the mistake that I make most often? An "if" statement that uses a single "=" instead of double "==" compiles just fine, but causes confusing behaviour at...

new rule
Help Wanted

I found that using {{ }} in the state.display attribute ( to reference "resolved" data ) only worked when on that state, and did not work when on a child...

bug

As an Elm learner, I often get frustrated while reading elm code by not knowing which module a name comes from. This is because of the use of "wildcard" imports/exports....

``` { createViewModel } = require 'mobx-utils' thing = mobx.observable({ attr:'value' }) vm = createViewModel(thing) ``` TypeError: mobx.makeObservable is not a function at new ViewModel (D:\Dropbox\workspace\npl\node_modules\mobx-utils\mobx-utils.umd.js:633:18) at createViewModel (D:\Dropbox\workspace\npl\node_modules\mobx-utils\mobx-utils.umd.js:779:16)

...i fixed it by doing this: this.editor.setValue( val, 1 ); Not sure if my problem is related to Elm or not...

coffeecup.render = (template, data = {}, options = {}) -> data[k] = v for k, v of options data.cache ?= off data.stylus = require 'stylus' These first 3 lines of...

I am programming AngularJS with Jade, and I often have many attributes on a single element. If I put each attribute on it's own line, and line-up the equal-signs (...