Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

wv.link to link

Mike McGann6f98f5e4859c
diff --git a/Gruntfile.js b/Gruntfile.js
index ba174a42a..a291047ab 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -134,7 +134,7 @@ module.exports = function(grunt) {
},
cgi_shorten: {
- command: "chmod 755 build/worldview*/web/service/wv.link/shorten.cgi"
+ command: "chmod 755 build/worldview*/web/service/link/shorten.cgi"
},
// Create a tarball of the debug build with a version number and
diff --git a/src/index.html b/src/index.html
index 4568c20e8..7a97509e3 100644
--- a/src/index.html
+++ b/src/index.html
@@ -23,29 +23,29 @@
<meta http-equiv="Pragma" content="no-cache">
<!-- CSS resources ==================================================== -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.ui/jquery.mobile-1.0rc2/jquery.mobile.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.ui/jquery.mobile-1.0rc2/jquery.mobile.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/ui/jquery.mobile-1.0rc2/jquery.mobile.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/ui/jquery.mobile-1.0rc2/jquery.mobile.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/ui/jquery.jscrollpane-2.0.17/jquery.jscrollpane.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.date/mobiscroll-2.6.0/mobiscroll.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.date/mobiscroll-2.6.0/mobiscroll.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/date/mobiscroll-2.6.0/mobiscroll.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/date/mobiscroll-2.6.0/mobiscroll.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.ui/yui-2.9.0/yui.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.ui/yui-2.9.0/yui.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/ui/yui-2.9.0/yui.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/ui/yui-2.9.0/yui.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.palettes/jquery.dd-3.3/jquery.dd.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.palettes/jquery.dd-3.3/jquery.dd.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/palettes/jquery.dd-3.3/jquery.dd.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/palettes/jquery.dd-3.3/jquery.dd.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.tour/joyride-2.0.3/joyride.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.tour/joyride-2.0.3/joyride.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/tour/joyride-2.0.3/joyride.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/tour/joyride-2.0.3/joyride.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.image/jcrop-0.9.10-p1/jcrop.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.image/jcrop-0.9.10-p1/jcrop.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/image/jcrop-0.9.10-p1/jcrop.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/image/jcrop-0.9.10-p1/jcrop.min.css"> -->
- <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/wv.map/openlayers-2.13.1-wv1/theme/default/style.css">
- <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/wv.map/openlayers-2.13.1-wv1/theme/default/style.min.css"> -->
+ <!-- link.dev --> <link type="text/css" rel="Stylesheet" href="ext/map/openlayers-2.13.1-wv1/theme/default/style.css">
+ <!-- link.prod --> <!-- <link type="text/css" rel="Stylesheet" href="ext/map/openlayers-2.13.1-wv1/theme/default/style.min.css"> -->
<!-- link.prod --> <!-- <link type="text/css" href="css/wv.css?v=20131218215115174" rel="Stylesheet" /> -->
diff --git a/src/js/link/wv.link.model.js b/src/js/link/wv.link.model.js
index 62b3d0459..e58cc284f 100644
--- a/src/js/link/wv.link.model.js
+++ b/src/js/link/wv.link.model.js
@@ -93,7 +93,7 @@ wv.link.model = wv.link.model || function(config) {
link = DEBUG_SHORTEN_LINK;
console.warn("Cannot shorten localhost, using", link);
}
- var promise = $.getJSON("service/wv.link/shorten.cgi" + mock +
+ var promise = $.getJSON("service/link/shorten.cgi" + mock +
"?url=" + encodeURIComponent(link));
promise.done(function(result) {
shortenCache[link] = result;
diff --git a/src/service/wv.link/.htaccess b/src/service/link/.htaccess
similarity index 100%
rename from src/service/wv.link/.htaccess
rename to src/service/link/.htaccess
diff --git a/src/service/wv.link/shorten.cgi b/src/service/link/shorten.cgi
similarity index 100%
rename from src/service/wv.link/shorten.cgi
rename to src/service/link/shorten.cgi
diff --git a/src/service/wv.link/shorten.cgi-error b/src/service/link/shorten.cgi-error
similarity index 100%
rename from src/service/wv.link/shorten.cgi-error
rename to src/service/link/shorten.cgi-error