fix bugs
This commit is contained in:
parent
4c302114c4
commit
68dce75075
@ -77,7 +77,7 @@ define(
|
||||
function readeot() {
|
||||
ajaxFile({
|
||||
type: 'binary',
|
||||
url: './iconfont.eot',
|
||||
url: '../font/iconfont.eot',
|
||||
onSuccess: function(buffer) {
|
||||
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user