FLUID-191: Define public methods within prototypes to allow familiar JavaScript inheritance patterns

Metadata

Source
FLUID-191
Type
Sub-task
Priority
Major
Status
Closed
Resolution
Won't Fix
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-01-28T11:36:14.000-0500
Updated
2008-07-16T21:29:30.000-0400
Versions
  1. 0.1
Fixed Versions
N/A
Component
  1. Reorderer

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.

Comments

  • Michelle D'Souza commented 2008-07-15T20:18:16.000-0400

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

  • Colin Clark commented 2008-07-16T21:29:30.000-0400

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