Search results for beef up your skills with code exercise Scripts fewliveasync.js

Soma.js – Your Way Out of Chaotic JavaScript

by Brian Rinaldi

…as simple as possible. Plan and decouple elements Planning and decomposing a task in different parts is a very important step in writing code. In the following exercise, there are…

Building a Parallax Scrolling Game with Pixi.js – Part 4

by Brian Rinaldi

…= Object.create(PIXI.DisplayObjectContainer.prototype); Save the file as Walls.js. Our class doesn’t do much at the moment other than inherit functionality from PIXI.DisplayObjectContainer. Before we start layering more code into our class…

Building a Parallax Scrolling Game with Pixi.js – Part 2

by Brian Rinaldi

…object-oriented concepts Some pixi.js fundamentals You’ll be working from the code you produced during the first tutorial. Alternatively you can download the previous tutorial’s source from GitHub and work from…

Testing Web Apps from the Ground Up

by Brian Rinaldi

…the code for the asynchronous testing framework and the new server tests. An Exercise Now that it is possible to write asynchronous tests, I can write the tests for the…

Beef Up Your Skills with Code Exercise

by Eric Terpstra

…intensity, that should appeal to beginners and experts alike. A Relaxing Warmup Code Koans are an easy way to get started with a code exercise routine. A Koan is a…

Building a Parallax Scrolling Game with Pixi.js – Part 3

by Brian Rinaldi

…sprite sheets let’s go ahead and load ours. We’ll start by adding some code to your project’s main application class. Open Main.js within your text editor. At the end of…

ECMAScript 6: Jump in, the water is warm!

by Mark Volkmann

…[‘styles/*.css’] } }, jshint: { options: { jshintrc: ‘.jshintrc’ }, all: [‘Gruntfile.js‘, ‘scripts/**/*.js‘] }, traceur: { options: { // This option includes runtime code in the generated file. //includeRuntime: true,…

There's another way.

Microservices Series #5: Beware best practices

mm by Modern Web

…without them. And yet they do not deliver quite as much value as you would think, especially when it comes to custom enterprise software. Categories of code There are two…

Real-World Best Practices for Building Angular.js Apps without Browserify or Require.js

by Jeff Dickey

…This is why people look to module loaders like require.js or browserify. Angular allows you to logically separate out code, but not files. I’m going to show an easier way,…

Eliminating Code Smell with Grunt

by Gavin Suntop

…allows us to test that code has been formatted without actually modifying it. jsbeautifier: { modify: { src: [‘Gruntfile.js‘, ‘_fe/js/**/*.js‘], options: { config: ‘.jsbeautifyrc’ } }, verify: { src: [‘Gruntfile.js‘,…