sidewinderlabs/backplanejs — Issue #79: Repeat's onDocumentReady() uses strict equality for unlike types of 'ordinal' attribute
Author: backplane-import
Created: 2011-10-16 04:22:30+00:00
State: open

### Imported from backplanejs Google Code [issue 79](http://code.google.com/p/backplanejs/issues/detail?id=79).

Reporter
fdintino

Date
20 Jul 2010 11:44:03 PM UTC

In Repeat.prototype.onDocumentReady(), the current ordinal is returned as a string (the type returned by getAttribute()) and an integer of the new ordinal value. If the ordinal values are the same, the equality still evaluates to false and setAttribute() is called unnecessarily.