If I create a child <iframe> on my page, and want to use impetus in that iframe, that is currently not possible. This commit adds support for the optional "window" property, which allows me to supply a different window to bind impetus to (ex: window: myIframe.contentWindw). I also moved the safari bug fix inside of the init() function, so that each window that impetus is used with can have this bugfix applied.
If I create a child
<iframe>
on my page, and want to use impetus in that iframe, that is currently not possible. This commit adds support for the optional "window" property, which allows me to supply a different window to bind impetus to (ex:window: myIframe.contentWindw
). I also moved the safari bug fix inside of theinit()
function, so that each window that impetus is used with can have this bugfix applied.