Search results for 2013 11 25 writing better jquery code

Testing Web Apps from the Ground Up

by Brian Rinaldi

realized that the mocks I had written were quite verbose. I refactored the web app code to make it more modular. This made the code better and easier to change…

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

by Brian Rinaldi

…the code you produced during the first two tutorials or download the second tutorial’s source code from GitHub and work from there. You can also find the entire source for…

Create Your First Mobile App with PhoneGap Build – Adding jQuery Mobile

by Brian Rinaldi

…directly below our existing stylesheet link within index.html. <link rel=”stylesheet” href=”” /> <script src=””></script> <script src=””></script> While we’re at it, if you haven’t already, we might as well add in…

Creating Custom Widgets with JavaScript in Wakanda

by Saad Mousliki

…If you are using a more recent version of jQuery in your widget than the version in Wakanda, you can restore the original version of jQueryby placing this code at…

There's another way.

Microservices Series #5: Beware best practices

mm by Modern Web

…the entire code base. Low-impact code is delivered with unnecessarily high quality, and high-impact code that should have 100% coverage is under-tested. *This is an instance of the Pareto Principle,…

Best of JavaScript, HTML & CSS – 2013

by Brian Rinaldi

and Javascript with node-webkit, an app runtime based on Chromium and NodeJS. node-webkit August Mathew Carella shares tips for writing better and more efficient CSS. Writing Better CSS Sara Soueidan…

The Angular Way

by Nicolas Bevacqua

jQuery’s API, called jqLite. It’s not that jQuery is evil, or that we need yet another implementation that somewhat reflects their API. It’s just that using jQuery isn’t very Angular….

2013 – The Year in Web Development

by Brian Rinaldi

pushed so much further in 2013 helped bolster developer’s confidence in creating their own custom elements with a framework like AngularJS. 2013 was also another tumultuous year for mobile, as…

Creating Custom Filters in jQuery

by Aurelio De Rosa

the HTML (<!– Script will be placed here… –>) with the following code: <script src=””></script> <script> $.expr[‘:’].placeholder = function(elem) { return $(elem).attr(‘placeholder’) !== undefined; }; $.expr[‘:’].nameLengthLessThan = $.expr.createPseudo(function(filterParam) { var…

ECMAScript 6: Jump in, the water is warm!

by Mark Volkmann

…abstraction. For example, Java code is compiled to bytecode. Transpilers translate code in some programming language to another form with basically the same level of abstraction. For example, CoffeeScript code