Category: Development

Oct21

 

If you’re going to The Ajax Experience, I’ll probably see you there. I’m getting on a plane tomorrow at an intolerable time before sunrise and will wind up in Boston sometime around 1pm. I look forward to several of the panels — and especially Brendan Eich’s keynote — but will also be thrilled to share a beer with those whose code I have used (and whose work I have copied) for over a year now: Justin Palmer, Dan Webb, Aaron Gustafson, John Resig, and other ninja-like entities.

Oct15

 

I don’t know how long ago this happened, but I just noticed that gotAPI.com now has an index of Sergio Pereira’s Prototype documentation. Since it’s based on version 1.4, it’s about eight months out of date, but it’s still handy to have while we work on proper documentation. Expect an exhaustive reference when 1.5 gets a final release.

Oct3

 

My JavaScript Tools TextMate Bundle has been updated to version 0.1.1. It includes binaries for both PPC and Intel. Download it.

Oct1

 

JavaScript Tools TextMate Bundle

Stuart Colville’s exploration of TextMate commands included as one of its examples a command that would run JSMin on the current JavaScript file and open the result in a new TextMate window.
Inspired by this example, I’ve created a TextMate bundle of tools for JavaScript developers. It’s fairly small at the moment, but I might

Sep22

 

Hixie’s trying to standardize innerHTML. One simple test gives five different results in 4½ different browsers. I don’t understand how he stays sane.

Sep13

 

I consider myself humbly fortunate to have been added as a member of Prototype’s new core development team. My first patch: optimizing getElementsByClassName. Browsers with XPath support get an eightfold performance gain; others get a modest gain of 50-100%.

Sep9

 

Viewport Dimensions in JavaScript

Adapted from the functions posted on QuirksMode.

var Client = {
  viewportWidth: function() {
    return self.innerWidth || (document.documentElement.clientWidth || document.body.clientWidth);
  },

  viewportHeight: function() {
    return self.innerHeight || (document.documentElement.clientHeight || document.body.clientHeight);
  },

  viewportSize: function() {
    return { width: this.viewportWidth(), height: this.viewportHeight() };
  }
};

Sep5

 

Prototype 1.5.0 has a new release candidate. New stuff since my last post: awesome DOM navigation via Element.(up|down|next|previous), Array.uniq, and a few bug fixes. There’s some more cool stuff in the pipeline.

Aug30

 

A smorgasbord of commits to the Prototype SVN repo, after four months of inactivity. Method chaining, new Element.Methods, object cloning, and this patch I wrote a while back. This is a meat-filled and much-needed update.

Aug23

 

Freshen up your JavaScript, a presentation given by Sam Foster and me at the Refresh Austin meeting earlier this month. If you’re in Austin and you’re reading this blog, you probably ought to be a Refresh member.

Built with WordPress, Prototype, Slicehost, and other accoutrements. Colophon →