This commit is contained in:
mkwiser 2014-10-26 00:26:16 +08:00
parent 4c302114c4
commit 68dce75075
3 changed files with 3 additions and 7 deletions

View File

@ -77,7 +77,7 @@ define(
function readeot() {
ajaxFile({
type: 'binary',
url: './iconfont.eot',
url: '../font/iconfont.eot',
onSuccess: function(buffer) {

View File

@ -114,12 +114,12 @@ define(
win.focus();
}
else {
win.addEventListener('load', function() {
win.onload = function() {
win.document.body.innerHTML = html;
win.focus();
win = null;
html = null;
}, false);
};
}
}
catch (exp) {

View File

@ -233,10 +233,6 @@ define(
this.un();
// 改变大小
window.removeEventListener('resize', this._resizeObserver, false);
this._resizeObserver = null;
this.painter.dispose();
this.capture.dispose();
this.keyCapture.dispose();