Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

IE 6 support

  • Loading branch information...
commit b4a49151a790ce32005c9af51816597bf6d65c12 1 parent db6a8e9
Tim Connor authored

Showing 2 changed files with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/screw.builder.js
  2. +3 3 lib/screw.css
4 lib/screw.builder.js
@@ -19,7 +19,7 @@ var Screw = (function($) {
19 19
20 20 describe: function(name, fn) {
21 21 var describe = $('<li class="describe">');
22   - $('<h1>').text(name).appendTo(describe);
  22 + describe.append('<h1>' + name + '</h1>');
23 23 describe
24 24 .append('<ol class="befores">')
25 25 .append('<ul class="its">')
@@ -37,7 +37,7 @@ var Screw = (function($) {
37 37
38 38 it: function(name, fn) {
39 39 var it = $('<li class="it">');
40   - $('<h2>').text(name).appendTo(it);
  40 + it.append('<h2>' + name + '</h2>')
41 41 it.data('screwunit.run', fn);
42 42
43 43 this.context[this.context.length-1]
6 lib/screw.css
@@ -60,17 +60,17 @@ h1, h2, p {
60 60
61 61 .describes .describe .its .it.enqueued h2 {
62 62 background-color: #CC6600;
63   - color: white;
  63 + color: white !important;
64 64 }
65 65
66 66 .describes .describe .its .it.passed h2 {
67 67 background-color: #5A753D;
68   - color: white;
  68 + color: white !important;
69 69 }
70 70
71 71 .describes .describe .its .it.failed h2 {
72 72 background-color: #993300;
73   - color: white;
  73 + color: white !important;
74 74 }
75 75
76 76 .describes .describe .its .it.failed p {

0 comments on commit b4a4915

Aman Gupta

$(‘

’) might work better in IE6
Aman Gupta

$(‘<h1/%gt;’) might work better in IE6

Please sign in to comment.
Something went wrong with that request. Please try again.