Refrain from hacker style.

This commit is contained in:
Jürg Lehni 2011-05-04 15:20:42 +01:00
parent 13dd088043
commit 3eb17f2953

View file

@ -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;
}
}