js

now browsing by tag

 
 

Let’s Code: Test-Driven JavaScript

http://www.letscodejavascript.com/ Latest videos: Testing Android, iOS, IE, and more Automating Karma (test runner) Cross-Brower Tests The creator of the series, James Shore, also wrote a fantastic book on agile development The Art of Agile (free to read online).

Taking a screenshot using Protractor and Selenium WebDriver

Here we learn to use Protractor with Selenium WebDriver providing the functionality to take screenshots. Update: Andrew Batz has kindly put together an NPM-installable package with the code in this article. Click here to check it out or download it using npm install screenshot-protractor As I work with SPAs (SingleRead More

Grunt2Gulp.js update: on the way to handling yeoman-generated Gruntfiles

The second ever issue filed for grunt2gulp.js was caused by a Yeoman-generated Gruntfile. It’s a complex file and that’s exactly what I wanted when I first created the project. The example Gruntfiles I came up with were hand-crafted and weren’t very complex. In any case, grab the latest the copyRead More

sweet.js macro for three.js (webgl)

By using sweet.js, the macro I wrote simplifies the render loop for three.js

Using Sequelize with Promises (with and without Q)

Using Sequelize with Promises (with and without Q)

rant: ugh nodejs and npm and test runners

NPM’s search really is awful. Especially on the command-line, it appears to scrape the npmjs.org website and doesn’t seem to cache much. It’s slower than apt-get. I switched to using the web interface to search for packages but then I realized that it has no way of sorting or filteringRead More

A Quick Tour of Sweet.js, macros for JavaScript

A Quick Tour of Sweet.js, macros for JavaScript

Little-known directives of Angular.js

Little-known directives of Angular.js Nice small post showing some of the lesser used directives

Bower for package management, it makes sense now

I finally see the point of using Bower for package management for front-end web development. It’s made for larger projects where you’re going to be upgrading components every few months and the dependencies really need to be managed for that. I’ve worked on relatively small web sites and web applicationsRead More