diff options
author | Nivesh Rajbhandari | 2012-04-18 13:49:26 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-18 13:49:26 -0700 |
commit | e6bdea62cff68837239c1be579926693c1aa7bdf (patch) | |
tree | bddf63c8b1fc493ec64aca642b8887321674bb16 /node_modules/montage/ui/check-input.js | |
parent | 7b3ef287f248c07602aefa3ba2cc907e0d16493a (diff) | |
parent | 2e04af953463643791f6362bd8ef4c6ba190abfa (diff) | |
download | ninja-e6bdea62cff68837239c1be579926693c1aa7bdf.tar.gz |
Merge branch 'refs/heads/ninja-internal' into EricMerge
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 | } |