[gimp-web/testing] Proper multiline string literal
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/testing] Proper multiline string literal
- Date: Tue, 28 Jul 2015 22:24:23 +0000 (UTC)
commit 2a8e57b69992bde41db1d7d8869b5a272380a87d
Author: Michael Schumacher <schumaml gmx de>
Date: Wed Jul 29 00:24:00 2015 +0200
Proper multiline string literal
includes/wgo.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/includes/wgo.js b/includes/wgo.js
index d7089db..d114b4f 100644
--- a/includes/wgo.js
+++ b/includes/wgo.js
@@ -27,10 +27,10 @@ function mangleforOpera() {
function renderDownload(platform) {
$("#downloads").html("<div id=\"moreos\"></div>\n<div id=\"os\"> </div>\n<hr />\n<div
id=\"source\"> </div>\n");
- $("#moreos").html("Show downloads for <a href=\"javascript:renderDownload('oslinux');\">GNU/Linux</a>
- | <a href=\"javascript:renderDownload('osmac');\">OS X</a>
- | <a href=\"javascript:renderDownload('oswindows');\">Microsoft
Windows</a>
- | <a href=\"javascript:renderDownload('all');\">All</a>");
+ $("#moreos").html("Show downloads for <a href=\"javascript:renderDownload('oslinux');\">GNU/Linux</a>" +
+ " | <a href=\"javascript:renderDownload('osmac');\">OS X</a>" +
+ " | <a href=\"javascript:renderDownload('oswindows');\">Microsoft
Windows</a>" +
+ " | <a href=\"javascript:renderDownload('all');\">All</a>");
// always have all the divs
$("#os").html("<div id=\"oslinux\"></div>\n<div id=\"osmac\"></div>\n<div id=\"oswindows\"></div>\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]