在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:aarongough/ajax-gist开源软件地址:https://github.com/aarongough/ajax-gist开源编程语言:JavaScript 91.9%开源软件介绍:¶ ↑Ajax-GistAjax-Gist is a simple web-service that acts as a proxy between your website and the GitHub Gist service to provide a translation of the Gist embed code that is AJAX friendly. The normal Gist embed code uses Javascript 'document.write' commands to insert the Gist into your webpage. This is a problem when you want to insert a Gist after the page has loaded as 'document.write' will wipe out the current content of the page! This service is mainly aimed at people that need to embed Gists in their application in a non-standard fashion. The service was inspired by the need to embed Gists in pages via AJAX for ReadMyCode.org To use the service simply grab the Gist ID that you're after and embed it in a script tag pointing to the web-service like so: <script src="http://ajax-gist.com/gist/419993.js" type="text/javascript"></script> ^ Gist ID Check out the examples page to see simple demos using the service both statically and dynamically. Gists accessed via this web-service are cached for 30 minutes, so if you make any changes to an existing Gist it will take 30 minutes before you see the changes. ¶ ↑Author & Credits
Copyright © 2010 Aaron Gough (thingsaaronmade.com), released under the MIT license |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论