DWR

generated javascript class broken - constructor name hidden

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.rc3
  • Fix Version/s: 2.0.2
  • Component/s: Core
  • Description:
    Hide
    DefaultRemoter got a breaking change in RC3 in its generation of script for converted objects:
        if (typeof MyClass != "function") { var MyClass = function() {

    To be able to detect the classname of created instances we must use:
        if (typeof MyClass != "function") { function MyClass() {

    The reason for change was "javascript generation bug under safari". We need to find a solution that adhers to the latter construct.
    Show
    DefaultRemoter got a breaking change in RC3 in its generation of script for converted objects:     if (typeof MyClass != "function") { var MyClass = function() { To be able to detect the classname of created instances we must use:     if (typeof MyClass != "function") { function MyClass() { The reason for change was "javascript generation bug under safari". We need to find a solution that adhers to the latter construct.

Activity

There are no comments yet on this issue.

People

Dates

  • Created:
    02/May/07 8:44 AM
    Updated:
    29/Feb/08 10:29 AM
    Resolved:
    16/May/07 2:06 AM