Google Groups Home
Help | Sign in
[475] Fixed typo.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
ca...@geeknest.com  
View profile
 More options Mar 14 2006, 8:06 pm
From: ca...@geeknest.com
Date: Tue, 14 Mar 2006 20:06:04 -0500 (EST)
Local: Tues, Mar 14 2006 8:06 pm
Subject: [svn openjsan.org] [475] Fixed typo.
Revision: 475
Author:   theory
Date:     2006-03-14 20:05:48 -0500 (Tue, 14 Mar 2006)

Log Message:
-----------
Fixed typo. Reported by Kevin Frost.

Modified Paths:
--------------
    users/theory/Test.Simple/trunk/Changes
    users/theory/Test.Simple/trunk/lib/Test/Builder.js
    users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js
Modified: users/theory/Test.Simple/trunk/Changes
===================================================================
--- users/theory/Test.Simple/trunk/Changes      2006-03-05 05:46:26 UTC (rev 474)
+++ users/theory/Test.Simple/trunk/Changes      2006-03-15 01:05:48 UTC (rev 475)
@@ -3,6 +3,7 @@
 0.22
       - Added note to the documentation of "canOK()" explaining why it doesn't
         work for objects based on prototypes created from anonymous classes.
+      - Fixed CSS typo for failure output. Thanks to Kevin Frost for the spot!

 0.21  2005-08-29T17:16:33
       - Moved source code to JSAN Subversion repository. Check it out at

Modified: users/theory/Test.Simple/trunk/lib/Test/Builder.js
===================================================================
--- users/theory/Test.Simple/trunk/lib/Test/Builder.js  2006-03-05 05:46:26 UTC (rev 474)
+++ users/theory/Test.Simple/trunk/lib/Test/Builder.js  2006-03-15 01:05:48 UTC (rev 475)
@@ -593,7 +593,7 @@

         this.output(writer);
         this.failureOutput(function (msg) {
-            writer('<span style="color: red; font-weight: boldvv">'
+            writer('<span style="color: red; font-weight: bold">'
                    + msg + '</span>')
         });
         this.todoOutput(writer);

Modified: users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js
===================================================================
--- users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js  2006-03-05 05:46:26 UTC (rev 474)
+++ users/theory/Test.Simple/trunk/lib/Test/Harness/Browser.js  2006-03-15 01:05:48 UTC (rev 475)
@@ -104,8 +104,8 @@

     Test.Harness.Browser.prototype._setupOutput = function () {
         // Setup the pre element for test output.
-        var node = document.createElement("pre");
-        node.setAttribute("id", "output");
+        var node = document.createElement('pre');
+        node.setAttribute('id', 'output');
         document.body.appendChild(node);
         return {
             pass: function (msg) {
@@ -114,8 +114,8 @@
                                 || document.body.scrollHeight);
             },
             fail: function (msg) {
-                var red = document.createElement("span");
-                red.setAttribute("style", "color: red; font-weight: bold");
+                var red = document.createElement('span');
+                red.setAttribute('style', 'color: red; font-weight: bold');
                 node.appendChild(red);
                 red.appendChild(document.createTextNode(msg));
                 window.scrollTo(0, document.body.offsetHeight


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google