forked from 0x2620/oxjs
better Ox.isEqual(), more tests, more documentation
This commit is contained in:
parent
a1ed6a44c5
commit
37219bfbe9
5 changed files with 466 additions and 252 deletions
|
|
@ -63,8 +63,8 @@ Ox.load('UI', {
|
|||
.html(
|
||||
Ox.repeat(' ', 4) +
|
||||
'<b>> ' + Ox.encodeHTML(test.statement) + ' </b> ==> ' +
|
||||
Ox.encodeHTML(test.actual) +
|
||||
(test.success ? '' : ' !=> ' + Ox.encodeHTML(test.expected))
|
||||
(test.success ? '' : Ox.encodeHTML(test.actual) + ' !=> ') +
|
||||
Ox.encodeHTML(test.expected)
|
||||
)
|
||||
.hide()
|
||||
.appendTo($foo);
|
||||
|
|
@ -78,7 +78,10 @@ Ox.load('UI', {
|
|||
height: '15px',
|
||||
padding: '4px 8px 4px 8px',
|
||||
fontFamily: 'Menlo, Monaco, Courier',
|
||||
fontSize: '12px'
|
||||
fontSize: '12px',
|
||||
whiteSpace: 'nowrap',
|
||||
MozUserSelect: 'text',
|
||||
WebkitUserSelect: 'text'
|
||||
});
|
||||
gradients.forEach(function(gradient) {
|
||||
$div.css({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue