Git Product home page Git Product logo

Comments (5)

jcoglan avatar jcoglan commented on May 18, 2024

By the way, I'm using the express-storage server just for trying things out. If I run it on localhost:80 this error disappears and the call above seems to work.

from remotestorage.js.

michielbdejong avatar michielbdejong commented on May 18, 2024

thanks for the bug report, will fix asap!

On Thu, May 24, 2012 at 1:58 PM, James Coglan
[email protected]
wrote:

I'm including https://github.com/unhosted/remoteStorage.js/raw/master/build/latest/remoteStorage.js on my page and calling this causes an error:

remoteStorage.getStorageInfo('jcoglan@localhost:4000', function(error, info) {
 console.log(error);
 console.log(info);
});

// -> Uncaught ReferenceError: err is not defined

Reply to this email directly or view it on GitHub:
https://github.com/unhosted/remoteStorage.js/issues/42

from remotestorage.js.

nilclass avatar nilclass commented on May 18, 2024

Your problem with the port is due to this line, which doesn't allow a colon in the hostpart. I'm not sure, if webfinger is supposed to work on non-standard ports, but I don't think so. User-addresses are supposed to be like email addresses and those enforce a standard-port as well.

from remotestorage.js.

jcoglan avatar jcoglan commented on May 18, 2024

Fair enough. Makes local testing a tiny bit trickier but not a big deal.

from remotestorage.js.

nilclass avatar nilclass commented on May 18, 2024

That's not the reason for that error message though, this fixes that: 62e280e

from remotestorage.js.

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.