FLUID-1238: Break out the options merging code from initView so that non-View objects can access its functionality without getting an empty DOM binder.

Metadata

Source
FLUID-1238
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-08-19T14:51:42.000-0400
Updated
2011-02-22T16:27:44.322-0500
Versions
  1. 0.5beta1
Fixed Versions
  1. 0.5beta1
Component
  1. Framework

Description

At the moment, initView() does three things:

1. It looks up the component defaults and merges them with user-specified options, attaching the options to the instance
2. It creates a DOM binder and attaches it to the instance

It would be helpful to have the options merging code split out from the rest of initView so that non-View objects (such as the new UploadManager) can take advantage of this functionality for free.

Comments

  • Colin Clark commented 2008-08-19T15:12:03.000-0400

    Created a new mergeComponentOptions() function.

  • Michelle D'Souza commented 2011-02-22T16:27:44.321-0500

    Closing issues that were resolved for 1.0 and earlier releases.