This project is archived and is in readonly mode.

#895 ✓resolved
Neil Jenkins

Nil is pointless

Reported by Neil Jenkins | April 28th, 2010 @ 10:57 PM

The nil function in MooTools 1.3b1 is pointless. It's only actually used by the Events class, and here it could simply be replaced by if (fn) instead of if (fn != nil). My suggestion: remove it entirely; the fewer global variables the better.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Tags

Pages