Metadata
- Source
- FLUID-5222
- Type
- Improvement
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Colin Clark
- Reporter
- Justin Obara
- Created
2013-11-22T14:45:38.662-0500 - Updated
2024-07-22T09:34:00.852-0400 - Versions
- N/A
- Fixed Versions
-
- 1.5
- Component
-
- Prefs Framework
Description
It is a two step process to create a prefsEditor with a schema. First a build has to be run, then the resulting grade needs to be instantiated. To make this process a little more streamlined for an integrator, we should implement a single function that builds and instantiates a prefsEditor and returns the instance of the instantiated prefsEditor.
it might look something like:
fluid.prefs.create = function (container, options) {
// options would include a property for builder options, and another for the prefsEditor
// generate unique namespace if none supplied
// run the build
// return the instantiated prefsEditor
};
Comments
-
Justin Obara commented
2013-11-25T08:47:19.679-0500 Merged pull request ( https://github.com/fluid-project/infusion/pull/440 ) into the project repo at 8890b03ab86de9328780dba20d19065b444cf0df