These are chat archives for opal/opal
probably the first legitimate use of with I saw in my life
@elia indeed! I think this is also a perfect example of two wrongs make a right:
with :wink: @iliabylich kudos for creative and elegant solution, jshint be damned! Just apply the inline jshint special comments like @elia demonstrated above, it should make jshint happy. I wouldn't go as far as removing the entire rule from jshintrc cause
with usually is a Bad Idea, but in this case it's just what the doctor ordered, :+1:
withis likely discouraged by the linter because it makes a function unoptimizable. But so does
evaland since the entire body of the function is
eval, there isn't much you can do about it. It's not a performance-sensitive code path because it's freshly compiled code executed once. Safe to ignore in this case.