diff options
author | Jose Antonio Marquez | 2012-04-24 10:06:53 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-04-24 10:06:53 -0700 |
commit | 4c15e77bdb7f4e0558f3749994a8a37b207b97ae (patch) | |
tree | 593ab4917fb5cc3ef8ee36822b56c6edd30c33a5 /node_modules/montage/ui/check-input.js | |
parent | 36d50b6599ab98559c76e1fe57b1bb131c4433da (diff) | |
parent | 55e6d621b9555abac06ab4adff44dfe29a78ec4e (diff) | |
download | ninja-4c15e77bdb7f4e0558f3749994a8a37b207b97ae.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'node_modules/montage/ui/check-input.js')
-rw-r--r-- | node_modules/montage/ui/check-input.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/montage/ui/check-input.js b/node_modules/montage/ui/check-input.js index 1621eb45..58f1cbc7 100644 --- a/node_modules/montage/ui/check-input.js +++ b/node_modules/montage/ui/check-input.js | |||
@@ -29,7 +29,7 @@ var CheckInput = exports.CheckInput = Montage.create(NativeControl, { | |||
29 | value: function() { | 29 | value: function() { |
30 | var pressComposer = this._pressComposer = PressComposer.create(); | 30 | var pressComposer = this._pressComposer = PressComposer.create(); |
31 | this.addComposer(pressComposer); | 31 | this.addComposer(pressComposer); |
32 | pressComposer.addEventListener("pressstart", this, false); | 32 | pressComposer.addEventListener("pressStart", this, false); |
33 | pressComposer.addEventListener("press", this, false); | 33 | pressComposer.addEventListener("press", this, false); |
34 | } | 34 | } |
35 | }, | 35 | }, |
@@ -82,7 +82,7 @@ var CheckInput = exports.CheckInput = Montage.create(NativeControl, { | |||
82 | 82 | ||
83 | // Handlers | 83 | // Handlers |
84 | 84 | ||
85 | handlePressstart: { | 85 | handlePressStart: { |
86 | value: function(event) { | 86 | value: function(event) { |
87 | this._shouldFakeCheck = event.defaultPrevented; | 87 | this._shouldFakeCheck = event.defaultPrevented; |
88 | } | 88 | } |