Handle case where no project is created through execution errors.

This commit is contained in:
Jürg Lehni 2012-11-21 10:38:54 -08:00
parent 900f3fe2dd
commit 1e744e3db7

View file

@ -90,7 +90,7 @@ var PaperScope = this.PaperScope = Base.extend(/** @lends PaperScope# */{
* @bean
*/
getView: function() {
return this.project.view;
return this.project && this.project.view;
},
/**