aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario/HtmlUI.js
diff options
context:
space:
mode:
authorMisko Hevery2010-10-15 13:44:53 -0700
committerMisko Hevery2010-10-15 13:44:53 -0700
commita36964799be3d21163ba6350d862fced2bbd3437 (patch)
tree8c703eb9b19541c25c4e1105e511426a646c9c4d /src/scenario/HtmlUI.js
parentd320e3d2c3b72896603a3df3abd26adc0bfa3c10 (diff)
downloadangular.js-a36964799be3d21163ba6350d862fced2bbd3437.tar.bz2
fixed lint warnings and one flaky test
Diffstat (limited to 'src/scenario/HtmlUI.js')
-rw-r--r--src/scenario/HtmlUI.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/scenario/HtmlUI.js b/src/scenario/HtmlUI.js
index 46c88837..a93ed1e3 100644
--- a/src/scenario/HtmlUI.js
+++ b/src/scenario/HtmlUI.js
@@ -31,9 +31,9 @@ angular.scenario.ui.Html.prototype.addSpec = function(spec) {
'<li class="status-pending test-it"></li>'
);
specContext = specContext.find('> .tests li:last');
- return new angular.scenario.ui.Html.Spec(specContext, spec.name,
+ return new angular.scenario.ui.Html.Spec(specContext, spec.name,
angular.bind(this, function(status) {
- var status = this.context.find('#status-legend .status-' + status);
+ status = this.context.find('#status-legend .status-' + status);
var parts = status.text().split(' ');
var value = (parts[0] * 1) + 1;
status.text(value + ' ' + parts[1]);
@@ -91,7 +91,7 @@ angular.scenario.ui.Html.Spec = function(context, name, doneFn) {
' </p>' +
'</div>' +
'<ol class="test-actions">' +
- '</ol>'
+ '</ol>'
);
context.find('> .test-info .test-name').text('it ' + name);
};
@@ -116,8 +116,8 @@ angular.scenario.ui.Html.Spec.prototype.addStep = function(name) {
angular.scenario.ui.Html.Spec.prototype.complete = function() {
this.context.removeClass('status-pending');
var endTime = new Date().getTime();
- this.context.find("> .test-info .timer-result")
- .text((endTime - this.startTime) + "ms");
+ this.context.find("> .test-info .timer-result").
+ text((endTime - this.startTime) + "ms");
};
/**
@@ -172,8 +172,8 @@ angular.scenario.ui.Html.Step = function(context, name, doneFn) {
angular.scenario.ui.Html.Step.prototype.complete = function() {
this.context.removeClass('status-pending');
var endTime = new Date().getTime();
- this.context.find(".timer-result")
- .text((endTime - this.startTime) + "ms");
+ this.context.find(".timer-result").
+ text((endTime - this.startTime) + "ms");
};
/**