jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 270 forks source link

Odd behaviour when installing via Bower #176

Open adcuz opened 8 years ago

adcuz commented 8 years ago

When installing via bower install:

 bower install --save xdomain

I see something strange, it generates the version identifier with an incorrect format:

"jpillora/xdomain": "xdomain#~0.7.3",

The text before the tilde is causing an error when trying to do bower update.

hupili commented 8 years ago

Same here. For first time install via bower-save, there is no problem. Once you further install other packages, error arises every time. I did this manual fix on bower.json.

-    "jpillora/xdomain": "xdomain#~0.7.3"
+    "xdomain": "jpillora/xdomain#~0.7.3"
jpillora commented 8 years ago

Hey guys, sorry I don't use bower. Can anyone spot any issues with https://github.com/jpillora/xdomain/blob/gh-pages/bower.json ? Maybe it's the slash in the name...