mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Refrain from hacker style.
This commit is contained in:
parent
13dd088043
commit
3eb17f2953
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ var PaperScript = new function() {
|
|||
} catch (e) {
|
||||
}
|
||||
// Automatically redraw document at the end.
|
||||
doc && doc.redraw();
|
||||
if (doc)
|
||||
doc.redraw();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue