mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
10 lines
No EOL
258 B
JavaScript
10 lines
No EOL
258 B
JavaScript
module('Document');
|
|
|
|
test('activate()', function() {
|
|
var doc = new Doc();
|
|
var secondDoc = new Doc();
|
|
doc.activate();
|
|
var path = new Path();
|
|
equals(doc.activeLayer.children[0] == path, true);
|
|
equals(secondDoc.activeLayer.children.length == 0, true);
|
|
}); |