
com.google.gwt.user.client.impl.initWindowResizeHandler.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-mock-2.5.1 Show documentation
Show all versions of gwt-mock-2.5.1 Show documentation
A mocked implementation for GWT-2.5.1 that can run in the JVM to allow integration testing
The newest version!
function __gwt_initWindowResizeHandler(resize) {
var wnd = window, oldOnResize = wnd.onresize;
wnd.onresize = function(evt) {
try {
resize();
} finally {
oldOnResize && oldOnResize(evt);
}
};
// Remove the reference once we've initialize the handler
wnd.__gwt_initWindowResizeHandler = undefined;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy