diff options
author | Valerio Virgillito | 2012-02-02 00:11:51 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-02 15:33:42 -0800 |
commit | a3024011a91d3941f81481dd4d600e9684eb0fd4 (patch) | |
tree | 084b4856910f1db53973dd11617f7ffa03a6dd46 /node_modules/montage/ui/number-input.reel/number-input.js | |
parent | 97255032921178bdfbc25512ddf3e0867e353f7a (diff) | |
download | ninja-a3024011a91d3941f81481dd4d600e9684eb0fd4.tar.gz |
upgrading to Montage v0.6
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/number-input.reel/number-input.js')
-rw-r--r-- | node_modules/montage/ui/number-input.reel/number-input.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/node_modules/montage/ui/number-input.reel/number-input.js b/node_modules/montage/ui/number-input.reel/number-input.js new file mode 100644 index 00000000..b5fd0a66 --- /dev/null +++ b/node_modules/montage/ui/number-input.reel/number-input.js | |||
@@ -0,0 +1,17 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | var Montage = require("montage").Montage, | ||
7 | Component = require("ui/component").Component, | ||
8 | TextInput = require("ui/text-input").TextInput, | ||
9 | StandardInputAttributes = require("ui/text-input").StandardInputAttributes; | ||
10 | /** | ||
11 | * The Number input | ||
12 | */ | ||
13 | var NumberInput = exports.NumberInput = Montage.create(TextInput, { | ||
14 | |||
15 | }); | ||
16 | |||
17 | NumberInput.addAttributes(StandardInputAttributes); | ||