Steven Petryk

Results 45 comments of Steven Petryk

`gsub!` not a method on `Kernel` as of Ruby 1.8.7, which is quite old. Check out the [list of methods on `Kernel`](https://ruby-doc.org/core-2.3.0/Kernel.html). It's worth pointing out that this grammar optimistically...

The regex for handling embedded languages is quite simple. Have you thought about taking a crack at it?

It may be possible to highlight these correctly on the left side of the equals sign using a lookbehind. In all other cases, though, it is not possible to know...

`).where(blackout_dates: { id: nil })` is all highlighted as SQL.

I'll open a PR at some point with the localstorage serialization changes.

In your test environment, are you sure WebSocket is an available API? WebSocket doesn't seem to be available in Node. Perhaps you could mock a `globals.WebSocket` object just for your...

@damiangreen you cannot use WebSocket when doing Server Side Rendering, since WebSocket is not available in NodeJS. To get around this, you could do something like: ```js if (typeof window...

@mehmetkose this issue can probs be closed btw—just people misusing the library.

Love this idea. Very nicely written pull request too! :+1:

**This tool is not meant for webpack projects that run in the browser**. The author cannot help any of you because you are using this library in the wrong environment.