X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/0235116c285db06d1c825e1c89449439cbfee54e..cb9c2100cb472c49a84facf7ba2ff6a0c65c6f02:/Cydia.app/package.js
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index aec81416..480ec01d 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -5,10 +5,10 @@
"name": "Allen Porter",
"address": "allen.porter@gmail.com"
},
- "depiction": "http://planet-iphones.com/repository/info/chromium1.3.php",
+ //"depiction": "http://planet-iphones.com/repository/info/chromium1.3.php",
+ "depiction": "http://cydia.saurik.com/terminal.html",
"description": "this is a sample description",
- //"homepage": "http://cydia.saurik.com/terminal.html",
- "homepage": "http://planet-iphones.com/repository/info/chromium1.3.php",
+ "homepage": "http://cydia.saurik.com/terminal.html",
"installed": "286u-4",
"id": "mobileterminal",
"section": "Terminal Support",
@@ -39,21 +39,23 @@ $(function () {
$("#author-href").href("mailto:" + author.address + "?subject=" + regarding);
}
+ //$("#notice-src").src("http://saurik.cachefly.net/notice/" + encodeURIComponent(id) + ".html");
+
var depiction = package.depiction;
- if (depiction != null) {
- $(".description").remove();
- $("#depiction-src").src(depiction);
- } else {
+ if (depiction == null)
$(".depiction").remove();
-
- var description = package.description;
- if (description == null)
- description = package.tagline;
- else
- description = description.replace(/\n/g, "
");
- $("#description").html(description);
+ else {
+ $(".description").display("none");
+ $("#depiction-src").src(depiction);
}
+ var description = package.description;
+ if (description == null)
+ description = package.tagline;
+ else
+ description = description.replace(/\n/g, "
");
+ $("#description").html(description);
+
var homepage = package.homepage;
if (homepage == null)
$(".homepage").remove();