atmosphere
  1. atmosphere
  2. ATMOSPHERE-85

Compatibility issue with Prototype.js and problem with streaming

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1
    • Fix Version/s: 0.7
    • Component/s: client-jquery
    • Labels:
      None

      Description

      Hey,
      I'm trying to integrate Atmosphere framework with my current project. First problem is with jQuery $ operator, because it's already used by prototypejs, so I've changed every usage of "$" to "jQuery" in my local version of jQuery.atmosphere.js. Second problem I've encountered concerns parsing response, when two or more messages are concatenated into one. In section when you look for "parent.callback" only the first message will be parsed and assinged to response.responseBody. I've added loop to parse all of them and to invoke callbacks multiple times. I've attached my version of jQuery.atmosphere.js.

        Activity

        Show
        jfarcand added a comment - Patch applied, Thanks! https://github.com/Atmosphere/atmosphere/commit/e224d31912ee7d75e8910f2464e3b0543ce41d19
        Hide
        jfarcand added a comment -

        In 0.7

        Show
        jfarcand added a comment - In 0.7

          People

          • Assignee:
            Unassigned
            Reporter:
            kuboluch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: