diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-13 12:20:05 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-05-13 12:20:05 +0200 |
commit | 97f8f5ad45a8dfbde27f555eafec5d8318ad67b2 (patch) | |
tree | a81faa56305eba7d3900257b971d9eafac0dbd89 /data/lib/bugzillaDOMFunctions.js | |
parent | 95c260d3edeeb85194193bfcbd1e991e4dadadbc (diff) | |
download | bugzilla-triage-97f8f5ad45a8dfbde27f555eafec5d8318ad67b2.tar.gz |
Really Eclipseize formatting.
Diffstat (limited to 'data/lib/bugzillaDOMFunctions.js')
-rw-r--r-- | data/lib/bugzillaDOMFunctions.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/data/lib/bugzillaDOMFunctions.js b/data/lib/bugzillaDOMFunctions.js index 6823bc1..8f74288 100644 --- a/data/lib/bugzillaDOMFunctions.js +++ b/data/lib/bugzillaDOMFunctions.js @@ -165,8 +165,8 @@ function createNewButton (location, after, cmdObj) { var newId = cmdObj.name.toLowerCase().replace(/[^a-z0-9]+/,"","g") + "_btn"; } catch (e) { console.error("createNewButton : e = " + e + - "\ncreateNewButton : cmdObj.toSource() = " + - cmdObj.toSource()); + "\ncreateNewButton : cmdObj.toSource() = " + + cmdObj.toSource()); } // protection against double-firings @@ -259,7 +259,7 @@ function getProduct() { function commentsWalker (fce) { var comments = document.getElementById("comments"). - getElementsByClassName("bz_comment"); + getElementsByClassName("bz_comment"); Array.forEach(comments, function(item) { fce(item); }); @@ -298,7 +298,7 @@ function parseAttachmentLine(inElem) { // getting MIME type and size var stringArray = inElem.getElementsByClassName("bz_attach_extra_info")[0].textContent. - replace(/[\n ()]+/g, " ").trim().split(", "); + replace(/[\n ()]+/g, " ").trim().split(", "); size = parseInt(stringArray[0], 10); MIMEtype = stringArray[1].split(" ")[0]; @@ -316,7 +316,7 @@ function parseAttachmentLine(inElem) { function getAttachments () { var outAtts = []; var atts = document.getElementById("attachment_table"). - getElementsByTagName("tr"); + getElementsByTagName("tr"); for ( var i = 1, ii = atts.length - 1; i < ii; i++) { outAtts.push(parseAttachmentLine(atts[i])); } @@ -436,7 +436,7 @@ function isEnterprise() { * @return Boolean whether the bug has been triaged or not */ function isTriaged() { - return hasKeyword("Triaged"); + return hasKeyword("Triaged"); } /** |