Skip to content

Commit

Permalink
Merge branch 'master' of github.com:enyojs/enyo
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Miles committed May 10, 2012
2 parents eb5a288 + 36e2589 commit 3c4c6b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
8 changes: 3 additions & 5 deletions source/ui/Checkbox.js
Expand Up @@ -5,9 +5,6 @@ enyo.kind({
name: "enyo.Checkbox",
//* @protected
kind: enyo.Input,
attributes: {
type: "checkbox"
},
events: {
onActivate: ""
},
Expand All @@ -16,7 +13,9 @@ enyo.kind({
//* Value of the checkbox
checked: false,
//* Group API requirement for determining selected item
active: false
active: false,
//* @protected
type: "checkbox"
},
//* @protected
handlers: {
Expand All @@ -42,7 +41,6 @@ enyo.kind({
this.active = Boolean(this.active);
this.setChecked(this.active);
this.bubble("onActivate");
this.notifyContainer();
},
// all input type controls support 'value' property
setValue: function(inValue) {
Expand Down
9 changes: 0 additions & 9 deletions source/ui/Input.js
Expand Up @@ -15,8 +15,6 @@ enyo.kind({
disabled: false
},
events: {
//* Sent when the input's value has changed, support for IE included.
onRealtimeChange: "",
//* Sent when the input's is disabled or enabled.
onDisabledChange: ""
},
Expand Down Expand Up @@ -68,7 +66,6 @@ enyo.kind({
valueChanged: function() {
this.setAttribute("value", this.value);
this.setNodeProperty("value", this.value);
this.notifyContainer();
},
iekeyup: function(inSender, inEvent) {
var ie = enyo.platform.ie, kc = inEvent.keyCode;
Expand All @@ -77,12 +74,6 @@ enyo.kind({
this.bubble("oninput", inEvent);
}
},
input: function() {
this.notifyContainer();
},
notifyContainer: function() {
this.bubble("onRealtimeChange");
},
clear: function() {
this.setValue("");
},
Expand Down

0 comments on commit 3c4c6b3

Please sign in to comment.