hello.js

var please = require('share');
console.log('thank you');

NEW !!!

Tuesday, 29 September, 2015 UTC

Document ES6 with ESDoc

I've been writing a lot of ES6(ES2015) at Lonely Planet the past few months. It comes with so many welcome changes to JavaScript, and with tools like Babel, you can use almost all of its features and even ES7(ES2016) features as well. Tools for documenting ... more


Friday, 25 September, 2015 UTC

Using ES2016 Decorators to Publish on an Event Bus

One stage 1 feature for ES2016 is the idea of Decorators proposed by Yehuda Katz. They allow you to annotate and modify entire classes, methods, and getters/setters. We can use ES2016 decorators to attach behavior to methods on a class. With this we ... more


Wednesday, 2 September, 2015 UTC

Advanced WebPack Part 1 - The CommonsChunk Plugin

"As a front end developer, I want to split my assets up into multiple bundles so that I can load only the JavaScript, and CSS needed for a page" For as long as I can remember in my career as a front end developer, one of the problems I've constantly ... more


Sunday, 9 August, 2015 UTC

Code on the Beach 2015

I was honored to be accepted to speak at Code on the Beach this year! (2015). Code on the Beach is an amazing conference down in Jacksonville, FL. I can't recommend it enough! Location The conference takes place at a 4 star resort called the One Ocean ... more


Friday, 31 July, 2015 UTC

Setup ESLint with ES6 in Sublime Text

ESLint is a JavaScript linter/style checker that has quickly risen in popularity for a number of reasons. First of all, it's easily plugable. Second, it's sort of a hybrid between JSHint, and JSCS. Third, it's written by none other than Nicholas Zakas. ... more


Tuesday, 27 January, 2015 UTC

What the Flux?

I've been really diving into wrapping my brain around React.js and Flux architecture the last couple of weeks. Not going to lie, I've been avoiding it. When I look at the docs and blog posts about Flux, and React, my brain goes... Things like componentDidMount ... more


Wednesday, 10 September, 2014 UTC

Require.js packages for building large scale angular applications

Require.js is one of my favorite ways to work with large JavaScript applications. It allows you to build AMD (asynchronous module definition) style modules to break up your application into small reusable modules. This is a desirable feature in large ... more


Wednesday, 3 September, 2014 UTC

Using jQuery's $.ajax in an Angular app

We've all been using jQuery for a long time. It's for this reason that Angular.js works seemlessly with jQuery if it sees it on the page, but also has it's on jQLite available for those who decide to opt out of jQuery. One of the APIs in jQuery that ... more


Wednesday, 13 August, 2014 UTC

Adding clarity to scope inheritance in angular

No matter how old JavaScript gets, the concept of prototypical inheritance still confuses developers. In fact, appendTo just gave a training course on functions and objects that talked about it yesterday! Not to mention Jordan Kasper's great talk on ... more