O'Reilly logo

Learning Underscore.js by Alex Pop

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Underscore.js Build Automation and Code Reusability

In the previous chapter, we discussed Underscore.js-related libraries, ECMAScript standards, and how to use ES6. We will now explore other advanced topics for using Underscore, such as:

  • Build automation with Gulp.js
  • Reusing code between client and server environments

The source code for the examples from this chapter is hosted online at https://github.com/popalexandruvasile/underscorejs-examples/tree/master/advanced-topics-2, and you can execute the examples using the Cloud9 IDE at the address https://ide.c9.io/alexpop/underscorejs-examples/ from the advanced-topics-2 folder.

Build automation with Gulp

So far, all the examples that targeted the browser environment took more effort to configure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required