Revision: 30be1f917064
Author: Janne Härkönen <[email protected]>
Date: Mon Jun 20 02:56:16 2011
Log: whitespace3
http://code.google.com/p/robotframework/source/detail?r=30be1f917064
Modified:
/src/robot/webcontent/log.html
/src/robot/webcontent/report.html
=======================================
--- /src/robot/webcontent/log.html Mon Jun 20 01:13:00 2011
+++ /src/robot/webcontent/log.html Mon Jun 20 02:56:16 2011
@@ -60,23 +60,23 @@
function makeElementVisible(element) {
var uuids = [];
- if (element.indexOf("suite_")==0) {
+ if (element.indexOf("suite_") == 0) {
element = element.substring("suite_".length);
uuids = window.testdata.pathToSuite(unescape(element));
}
- if (element.indexOf("test_")==0) {
+ if (element.indexOf("test_") == 0) {
element = element.substring("test_".length);
uuids = window.testdata.pathToTest(unescape(element));
}
- if (element.indexOf("keyword_")==0) {
+ if (element.indexOf("keyword_") == 0) {
element = element.substring("keyword_".length);
uuids = window.testdata.pathToKeyword(unescape(element));
}
for (var i in uuids) {
- $("#"+uuids[i]+"_unfoldlink").click();
+ $("#" + uuids[i] + "_unfoldlink").click();
}
if (uuids && uuids.length > 0) {
- expandFailed(window.testdata.find(uuids[uuids.length-1]));
+ expandFailed(window.testdata.find(uuids[uuids.length - 1]));
}
}
=======================================
--- /src/robot/webcontent/report.html Mon Jun 20 01:13:00 2011
+++ /src/robot/webcontent/report.html Mon Jun 20 02:56:16 2011
@@ -174,25 +174,25 @@
function showDetailsByHash() {
// TODO: cleanup
var hash = decodeURI(window.location.hash.substring(1));
- if(hash.indexOf("suite_")==0){
+ if (hash.indexOf("suite_") == 0) {
var suite = hash.substring("suite_".length);
suiteDetailSelected(suite)
}
- else if(hash.indexOf("tag_")==0){
+ else if (hash.indexOf("tag_") == 0) {
var tag = hash.substring("tag_".length);
tagDetailSelected(tag)
}
- else if(hash.indexOf("total_")==0){
+ else if (hash.indexOf("total_") == 0) {
var type = hash.substring("total_".length);
totalDetailSelected(type)
}
- else if(hash=='totals'){
+ else if (hash == 'totals') {
showTotalsTab();
}
- else if(hash=='tags'){
+ else if (hash == 'tags') {
showTagsTab();
}
- else if(hash=='suites'){
+ else if (hash == 'suites') {
showSuitesTab();
}
window.location.hash = window.location.hash.substring(1);