forked from GitHub/gf-core
minibar: fix links to Wikipedia article on JSONP
Wikipedia moved it.
This commit is contained in:
@@ -40,7 +40,7 @@ Some implementation details:
|
|||||||
small web apps</a> based on the
|
small web apps</a> based on the
|
||||||
<a href="http://spraakbanken.gu.se/sal/ws/">SALDO web services</a>.
|
<a href="http://spraakbanken.gu.se/sal/ws/">SALDO web services</a>.
|
||||||
<li>To access the GF web service, it uses the
|
<li>To access the GF web service, it uses the
|
||||||
<a href="http://en.wikipedia.org/wiki/JSON#JSONP">JSONP method</a>
|
<a href="http://en.wikipedia.org/wiki/JSONP">JSONP method</a>
|
||||||
mentioned in the GF
|
mentioned in the GF
|
||||||
web services paper, which allows the web app to be hosted on a different server
|
web services paper, which allows the web app to be hosted on a different server
|
||||||
from the GF web service. (To demonstrate this, I put the Minibar demo on
|
from the GF web service. (To demonstrate this, I put the Minibar demo on
|
||||||
@@ -217,7 +217,7 @@ Some implementation details:
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class=modtime><small>
|
<div class=modtime><small>
|
||||||
<!-- hhmts start -->Last modified: Mon Aug 27 16:28:25 CEST 2012 <!-- hhmts end -->
|
<!-- hhmts start -->Last modified: Mon Sep 10 00:50:08 CEST 2012 <!-- hhmts end -->
|
||||||
</small></div>
|
</small></div>
|
||||||
<address>
|
<address>
|
||||||
<a href="http://www.cse.chalmers.se/~hallgren/">TH</a>
|
<a href="http://www.cse.chalmers.se/~hallgren/">TH</a>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ if(!Array.isArray) {
|
|||||||
// Inspired by the function jsonp from
|
// Inspired by the function jsonp from
|
||||||
// http://www.west-wind.com/Weblog/posts/107136.aspx
|
// http://www.west-wind.com/Weblog/posts/107136.aspx
|
||||||
// See also http://niryariv.wordpress.com/2009/05/05/jsonp-quickly/
|
// See also http://niryariv.wordpress.com/2009/05/05/jsonp-quickly/
|
||||||
// http://en.wikipedia.org/wiki/JSON#JSONP
|
// http://en.wikipedia.org/wiki/JSONP
|
||||||
function jsonp(url,callback)
|
function jsonp(url,callback)
|
||||||
{
|
{
|
||||||
if (url.indexOf("?") > -1)
|
if (url.indexOf("?") > -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user