mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Merge remote branch 'origin/master'
This commit is contained in:
commit
b2e2dd8888
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
// Let's be strict
|
||||
equals = strictEqual;
|
||||
|
||||
function compareNumbers(number1, number2, message) {
|
||||
if (number1 !== 0)
|
||||
number1 = Math.round(number1 * 100) / 100;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue