app.js: update searchdata URL in prep for format change
The new URL is: http://worldwidetelescope.org/data/searchdata_v2.min.js (or https://, or `cdn.worldwidetelescope.org`, etc.)
This commit is contained in:
Родитель
17d52b6183
Коммит
2cb6f2d6cb
4
app.js
4
app.js
|
@ -24,7 +24,7 @@
|
|||
|
||||
// Note that, unlike the other source files, this file is processed through
|
||||
// Grunt's templating system. This is done so that we can insert various
|
||||
// build-time parameters. Note also that the variables here must references to
|
||||
// build-time parameters. Note also that the variables here must be references to
|
||||
// the Grunt config object; the templating in index.html uses different
|
||||
// variables.
|
||||
|
||||
|
@ -72,6 +72,6 @@ $(window).on('load', function () {
|
|||
// The JS file here sets a global `wwt.searchData` variable, which is
|
||||
// processed in the `init()` function defined in `dataproxy/SearchData.js`.
|
||||
var scr = document.createElement('script');
|
||||
scr.setAttribute("src", wwtlib.URLHelpers.singleton.coreStaticUrl('data/searchdata.min.js'));
|
||||
scr.setAttribute("src", wwtlib.URLHelpers.singleton.coreStaticUrl('data/searchdata_v2.min.js'));
|
||||
document.getElementsByTagName("head")[0].appendChild(scr);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче