Skip to content

Commit

Permalink
fix old ie bugs. Fixes #528
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Dec 9, 2013
1 parent 2118dc0 commit c725464
Show file tree
Hide file tree
Showing 110 changed files with 4,472 additions and 4,202 deletions.
2 changes: 1 addition & 1 deletion build/base-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/base.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY v1.41
MIT Licensed
build time: Dec 6 15:31
build time: Dec 6 15:30
*/
/*
Combined processedModules by KISSY Module Compiler:
Expand Down
10 changes: 5 additions & 5 deletions build/component/control-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions build/component/control.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY v1.41
MIT Licensed
build time: Dec 4 22:05
build time: Dec 10 01:30
*/
/*
Combined processedModules by KISSY Module Compiler:
Expand Down Expand Up @@ -607,9 +607,14 @@ KISSY.add("component/control", ["node", "./control/process", "component/manager"
self.focus()
}
}, destructor:function() {
Manager.removeComponent(this.get("id"));
if(this.view) {
this.view.destroy()
var self = this;
Manager.removeComponent(self.get("id"));
if(self.view) {
self.view.destroy()
}else {
if(self.get("srcNode")) {
self.get("srcNode").remove()
}
}
}}, {name:"control", ATTRS:{id:{view:1, valueFn:function() {
return S.guid("ks-component")
Expand Down
14 changes: 7 additions & 7 deletions build/component/extension/align-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions build/component/extension/align.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2013, KISSY v1.41
MIT Licensed
build time: Dec 4 22:05
build time: Dec 10 01:46
*/
/*
Combined processedModules by KISSY Module Compiler:
Expand Down Expand Up @@ -203,8 +203,9 @@ KISSY.add("component/extension/align", ["node"], function(S, require) {
self.set("align", {node:node, points:["cc", "cc"], offset:[0, 0]});
return self
}, __destructor:function() {
if(this.$el) {
this.$el.getWindow().detach("resize", realign, this)
var self = this;
if(self.$el) {
self.$el.getWindow().detach("resize", onResize, self)
}
}};
return Align
Expand Down

0 comments on commit c725464

Please sign in to comment.