necojackarc’s blog

A software engineer's blog who works for a web service company

JavaScript

Decent Use of JavaScript Custom Errors

The original post was published on October 10th, 2018, by me in Japanese. In the JavaScript world, pitfalls are everywhere; one of them seems to be error handling. This post shows one way to use JavaScript's custom errors decently, which i…

Write Hubot Scripts Easily with Babel ES201x

The original post was published on Mar. 12, 2017, by me in Japanese. Using Babel, you can easily write Hubot Scripts with ES201x. TL;DR Configure your Hubot following necojackarc-sandbox/hubot-babel-es201x Code your Hubot Scripts in src/bo…

Separate JavaScript Easily and Moderately from Rails with WebPack

The original post was published on Nov. 29, 2015, by me in Japanese. Introduction To dive into the world of front-end, I came up with an idea to separate JavaScript easily and moderately from a Rails project. Some have already shared vario…