This space is an archive space for documentation related to old versions of Fluid Infusion (i.e. versions before 1.3). For documentation related to the latest Infusion, see Infusion Documentation.
Tutorial - Fluid Infusion Core 1.0 Migration
This page will walk you through the process of upgrading your existing 0.8 Fluid Infusion Core Framework implementation to the new 1.0 version. This tutorial assumes that
- you are already familiar with HTML, Javascript and CSS
- you are familiar with what Fluid Infusion Core Framework is and does
- you have an existing implementation that uses the Fluid Infusion Core Framework and worked with the 0.8 Infusion release.
- you are using the default classes
Location Changes
With the directory restructuring comes the need to update your paths to our files.
If you use... |
The new path is... |
---|---|
../../fluid-components/js/fluid/Fluid.js |
../../framework/core/js/Fluid.js |
../../fluid-components/js/fluid/FluidDOMUtilities.js |
../../framework/core/js/FluidDOMUtilities.js |
../../fluid-components/js/jquery/jquery.keyboard-a11y.js |
../../framework/core/js/jquery.keyboard-a11y.js |
../../fluid-components/js/fluid/ProgressiveEnhancement.js |
../../framework/core/js/ProgressiveEnhancement.js |
API Changes
Some functions have under gone an API change
If you used... |
The Change is... |
---|---|
fluid.event.getEventFirer(unicast, preventable) |
For preventable events, the Fluid Framework used to look for true to stop prorogation. Now the Fluid Framework will look for false to stop the event propogation. |
API Name Changes
Some functions have been renamed
If you used... |
You'll now use... |
---|---|
fluid.findKeyInObject(obj, value) |
fluid.keyForValue(obj, value) |