Could you please simplify this to the following:

``` coffeescript
@win = @options.window or (window ? null)
```