Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1910

gadget_holder.js pollutes global namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0-beta5
    • 2.5.0-beta6
    • Javascript
    • None

    Description

      gadget_holder.js has an init method defined in the global namespace. This causes initialization to fail and all script execution to halt when another, unrelated module defines a function of the same name, and a script combining scheme is used to minimize requests to the server.

      Attachments

        1. namespace_pollution_fix.patch
          0.9 kB
          Matt Whelan

        Activity

          People

            Unassigned Unassigned
            matt.whelan Matt Whelan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified