FLUID-3365: jqUnit's fetchTemplate() function should load templates synchronously, rather than asynchronously, to be more flexible

Metadata

Source
FLUID-3365
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2009-11-05T21:35:01.000-0500
Updated
2010-03-30T19:16:01.000-0400
Versions
  1. 1.1.1
  2. 1.1.2
Fixed Versions
  1. 1.2
Component
  1. Framework

Description

At the moment, jqUnit's fetchTemplate() method loads templates asynchronously using jQuery.load().We should replace the call to load with a synchronous Ajax calls so that tests can be assured that the template will be in place immediately after the call to fetchTemplate() returns.

Comments

  • Colin Clark commented 2009-11-05T21:36:13.000-0500

    Due to the awkward state of the Builder tests, we appear to require the template to be loaded immediately within setup code. Making fetchTemplate() synchronous should address this issue.

  • Colin Clark commented 2010-03-30T19:15:57.000-0400

    This issue was fixed for Infusion 1.2