GithubHelp home page GithubHelp logo

Comments (17)

jonpacker avatar jonpacker commented on July 25, 2024

+1, this is causing problems for me also.

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

@jhs if you add me as a collabo to this repo i'll fix junk

from browser-request.

jhs avatar jhs commented on July 25, 2024

@maxogden Thanks very much!

I believe you already have access, since you are a member of the iriscouch/colleagues group. Please let me know if that is only read-only or something like that.

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

OH!

On Fri, Jul 5, 2013 at 5:04 PM, Jason Smith [email protected]:

@maxogden https://github.com/maxogden Thanks very much!

I believe you already have access, since you are a member of the
iriscouch/colleagues group. Please let me know if that is only read-only or
something like that.


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-20544448
.

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

I fixed this by changing the line in XMLHTTPRequest from:

var XHR = xmlhttprequest.XMLHttpRequest

to

var XHR = xmlhttprequest.XMLHttpRequest || XMLHttpRequest

but there are issues:

  • the submodule for xmlhttprequest in this repo is old and needs to be updated
  • I don't know how to run the tests
  • I don't know how to build a new version of the library

it would be nice if npm test and npm run build were implemented to do these

from browser-request.

jhs avatar jhs commented on July 25, 2024

I fixed the submodule. Building is now available via npm run build.

The tests require CouchDB running on localhost:5984. Me, I would rather go out in public with no pants on than not have couch at localhost:5984; but perhaps that is not a broadly-held opinion.

@maxogden what is your sense of Ender? Are people using it anymore? Is it worth continued support? It was the dog's bollocks when I wrote this but I don't follow browser JS trends much. Thanks.

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

im pretty sure nobody uses ender anymore

On Sat, Jul 6, 2013 at 5:59 PM, Jason Smith [email protected]:

I fixed the submodule. Building is now available via npm run build.

The tests require CouchDB running on localhost:5984. Me, I would rather go
out in public with no pants on than not have couch at localhost:5984; but
perhaps that is not a broadly-held opinion.

@maxogden https://github.com/maxogden what is your sense of Ender? Are
people using it anymore? Is it worth continued support? It was the dog's
bollocks when I wrote this but I don't follow browser JS trends much.
Thanks.


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-20563758
.

from browser-request.

jhs avatar jhs commented on July 25, 2024

Thanks. Also, if var XHR = xmlhttprequest.XMLHttpRequest fails then that is a bug in my building or packaging. The intention is that xmlhttprequest is a global variable (or that it is correctly in browserify, etc.)

The whole point of using the xmlhttprequest project as a submodule is that it standardizes the API and behavior across all browsers.

from browser-request.

kirbysayshi avatar kirbysayshi commented on July 25, 2024

Glad to see that progress is being made on this.

Note: I am one of many (I assume) who would rather go into public without pants than require a local couchdb server for a JS library's tests.

from browser-request.

jhs avatar jhs commented on July 25, 2024

We will have to agree to disagree that CouchDB provides a feeling of warmth, comfort, and security.

I respect your opinion, and I support diversity; so I will work on removing couch as a test dependency. Really, all that is needed is a static file server, which Node itself can do.

from browser-request.

kirbysayshi avatar kirbysayshi commented on July 25, 2024

That sounds like a good plan, especially if all that is required is to be able to serve static files. There are several modules that will do that (quickserve, serve, paperboy...).

Also, I have nothing against couchdb! Only that an external tech is a impediment to others contributing.

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

@jhs i'm pretty sure that something about the way you're loading the xmlhttprequest polyfill is broken because I cant get it to work in firefox without adding || XMLHttpRequest to the end like I said above

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

ok I have a pretty radical fork https://github.com/maxogden/browser-request

on the plus side it has testling tests

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

@jhs do you approve of my house cleaning here?

from browser-request.

indexzero avatar indexzero commented on July 25, 2024

+1 I'm not a browser expert these days, but "browserify ftw" seems like a good approach!

from browser-request.

max-mapper avatar max-mapper commented on July 25, 2024

made a pull req #17

from browser-request.

paulmelnikow avatar paulmelnikow commented on July 25, 2024

This still seems to be a problem in the latest version from npm (0.2.1). Works in Chrome, but not in Firefox.

from browser-request.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.