开发者

Where to store and mantain production code making it available for users to include its url

Let's say we created a small widget or web app. or just a plugin - and we want to distribute it to the public. (JS, jQuery...) ...and we have no server- or we are afraid it will close one day. ...and we'd like to provide that script like an url-t开发者_StackOverflow中文版o-script to be included into a script tag.

Like we do with the jQ library -- Is there any provider that allows us to store codes and generates a livetime url to it?? That we can mantain, change or fix it anytime without the need to inform all users? Have Google something like that? Or am I dreaming?


You can upload on github. It's free for open-source projects, and you can even link directly to the repo's master branch; example:

https://github.com/douglascrockford/JSON-js/raw/master/json_parse.js

(There are good reasons not to do that as a general rule — the master branch could get a breaking change committed to it, for example — but it's there if you need it.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜