Posts Tagged ‘javascript’

June 5, 2013 0

Supporting TypeScript in Lineman.js

By in javascript

Lineman is a great tool for building client-side applications. Out of the box, it supports CoffeeScript, LESS, SASS, and (of course) JavaScript and CSS. But because Lineman is built on Grunt, it is easy to add any grunt task to the Lineman toolchain. Today, let’s see how we would add TypeScript support to a Lineman […]

Tags: , , , ,

April 17, 2012 0

Fetch and Iterate

By in javascript

Tonight I stumbled across a blog post from the future! Or something like that. On 4/17 at 11:30PM I read a blog post that was published on 4/18 at 1:54. Time zones = time travel. Anyway… It was about finding a cleaner, more succinct, syntax for a standard pattern: fetch_data, process_data, rinse and repeat until […]

Tags: , , ,

June 4, 2010 0

IE6, MooTools, and MultiBox: A Tale of Woe

By in javascript, mootools

On a recent project, I traveled to the depths of hell and came out alive. Here’s how it went down… The initial task wasn’t all that unique or difficult. We were to add a few videos (most hosted on YouTube, with a couple self-hosted) that would open in a lightbox-style popup when the thumbnails were […]

Tags: , , , ,

March 10, 2010 2

Google Analytics Tagging with HTML5 data-* Attributes

By in javascript, jquery, mootools

Imagine if you will, a page with a significant amount of dynamic page elements. For instance, a slide-out panel containing a number of ‘panes’ containing topical information on various ‘factors’. Let’s assume that once this slide-out is open, we wish the user to be able to jump from factor to factor (similar to a slideshow) […]

Tags: , , , ,

February 25, 2010 5

JavaScript Best Practices

By in javascript

@ikeif recently tweeted a request for some JavaScript best practices. Rather than simply reply to him, I thought I’d post them here and beat him to the blog-post-punch. I’m not going to expand much on any of these, although any discussion that arises will likely spawn its own post. These are in no particular order […]

Tags:

February 11, 2009 0

jQuery.Firebug: A call for feedback.

By in firebug, javascript, jquery

As a result of some of the discussion following from my post on my new jQuery plugin, jQuery.Firebug I’m soliciting feedback for its desired behavior. Example: $(‘.setA’).log(); $(‘.setB’).log(“some”, “information”); $(‘.setC’).log(“title attribute is: “, “.attr(‘title’)”); Some explanation. The log method follows the same rules as the Firebug console.log method. It can take 0 or more arguments […]

Tags: , , ,

January 6, 2009 17

Announcing jQuery.Firebug

By in firebug, javascript, jquery

I have been sitting on my latest jQuery plugin for some time now. Although I realize that the code is not yet of production quality and there are certainly bugs and features that remain to be addressed, I’ve decided that I should at least release this plugin to the wild. At the very least, I […]

Tags: , , ,