Merge remote branch 'origin/master'

This commit is contained in:
Jonathan Puckey 2011-05-05 16:17:42 +01:00
commit b2e2dd8888
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
// Let's be strict
equals = strictEqual;
function compareNumbers(number1, number2, message) {
if (number1 !== 0)
number1 = Math.round(number1 * 100) / 100;

View file

@ -61,8 +61,8 @@ test('getting group styles', function() {
group.appendTop(secondPath);
// the group now contains two paths with different fillColors and therefore
// should return null:
equals(group.fillColor, null, 'group.fillColor');
// should return undefined:
equals(group.fillColor, undefined, 'group.fillColor');
//If we remove the first path, it should now return 'black':
group.children[0].remove();