rwaldron / jquery-hive

jQuery Plugin for creating and managing web workers across implementations. Includes Hive.Pollen.js - the thread-safe utility library for connecting worker threads to the Hive.
http://weblog.bocoup.com/javascript-web-workers-from-basics-to-jquery-hive-part-i
203 stars 24 forks source link

options.sync is backwards (true means to do an async request) #8

Closed Ms2ger closed 12 years ago

Ms2ger commented 12 years ago

As first filed at http://code.google.com/p/thermetics-forum-extensions/issues/detail?id=33:

What steps will reproduce the problem?

  1. Try to do an ajax request with "sync: true" in options
  2. Observe that the request is async.

The code looks like this:

_xhr.open(options.type, options.url, options.sync); 

but the third argument to XMLHttpRequest open is whether the request should be async.

rwaldron commented 12 years ago

Closed, see https://github.com/rwldrn/jquery-hive/pull/10