mirror of
https://github.com/AleziaKurdis/Overte-community-apps.git
synced 2025-04-06 00:53:09 +02:00
Another fix for indentation
Another fix for indentation
This commit is contained in:
parent
1376e8593b
commit
9b823f9b8b
1 changed files with 4 additions and 3 deletions
|
@ -103,8 +103,9 @@
|
|||
document.gen.dlapp.disabled = true;
|
||||
|
||||
function FormatJsJson(obj) {
|
||||
var jsdata = 'var metadata = { "applications": [\n';
|
||||
|
||||
var jsdata = 'var metadata = { "applications":\n';
|
||||
jsdata = jsdata + " [\n";
|
||||
|
||||
obj.applications.forEach(function(item, index) {
|
||||
var comma = "";
|
||||
if (index < obj.applications.length - 1 ) {
|
||||
|
@ -123,7 +124,7 @@
|
|||
|
||||
jsdata = jsdata + " ]\n";
|
||||
jsdata = jsdata + "};";
|
||||
|
||||
|
||||
return jsdata;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue