Define public methods within prototypes to allow familiar JavaScript inheritance patterns

Description

Currently the Layout Handlers attach all of their functionality directly on a new instance using the "this" pointer. We should be attaching these public methods onto the LayoutHandler's prototype, allowing for more efficient sharing of code.

Environment

None

Activity

Show:

Colin Clark July 17, 2008 at 1:29 AM

As Michelle's comment notes, we're moving away from the use of prototypes, so this bug is no longer relevant.

Michelle D'Souza July 16, 2008 at 12:18 AM

We will actually move to the 'thatism' style instead.

Won't Fix

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged4h remaining

Components

Affects versions

Priority

Created January 28, 2008 at 4:36 PM
Updated July 17, 2008 at 1:29 AM
Resolved July 17, 2008 at 1:29 AM

Flag notifications