Skip to content

Commit

Permalink
fixup test suite for better IE reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jul 19, 2012
1 parent 1c0f5d1 commit 857e0fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/js/dumpdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function processTree(data){
if (!match) continue;

var relpath = location.host == "modernizr.github.com" ?
'https://raw.github.com/Modernizr/Modernizr/master/' : '../';
'../modernizr-git/' : '../';

filenames.push(relpath + match[0]);
}
Expand All @@ -61,7 +61,8 @@ function resultsToDOM(){

modOutput.className = 'output';
modOutput.innerHTML = dumpModernizr();
if (Modernizr.csscolumns) ref.parentNode.insertBefore(modOutput, ref);

ref.parentNode.insertBefore(modOutput, ref);

// Modernizr object as text
document.getElementsByTagName('textarea')[0].innerHTML = JSON.stringify(Modernizr);
Expand Down

0 comments on commit 857e0fa

Please sign in to comment.