vvo / lazyload

:bullettrain_front: Lazyload images, iframes, widgets with a standalone JavaScript lazyloader
https://vvo.github.io/lazyload/
MIT License
938 stars 158 forks source link

Simplify repository property in package.json #48

Closed zlatanvasovic closed 10 years ago

zlatanvasovic commented 10 years ago

Simplifies repository property per newer npm spec.

vvo commented 10 years ago

I'm not sure about this one, I wonder why npm choosed to embrace github as the default repo url.

What if you got the code and don't know that the default url is github? How would you know where to look.

Or if you want to copy/paste the git url.

What do you think?

zlatanvasovic commented 10 years ago

Live example: https://npmjs.org/package/percent

npm auto-generates the url. :)

Also, you don't need to copy that link. There is a http://git.io/lazyload link (I made it).

vvo commented 10 years ago

thx for explanations

zlatanvasovic commented 10 years ago

:)