Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
benchmark: Make doc parser separate chunks with divs. [jddalton]
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Feb 1, 2011
1 parent 85492fe commit cd1dac5
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 69 deletions.
3 changes: 1 addition & 2 deletions benchmark.js
Expand Up @@ -1515,8 +1515,7 @@
// cleanup
os = String(os).replace(RegExp(guess = /\w+/.exec(guess), 'i'), guess)
.replace(/\/(\d)/, ' $1').replace(/_/g, '.').replace(/x86\.64/g, 'x86_64')
.replace('Macintosh', 'Mac OS').replace(/(OS X) Mach$/, '$1')
.split(' on ')[0];
.replace('Macintosh', 'Mac OS').replace(/(OS X) Mach$/, '$1').split(' on ')[0];
}
return os;
});
Expand Down

0 comments on commit cd1dac5

Please sign in to comment.