diff options
author | Armen Kesablyan | 2012-06-20 15:04:25 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-20 15:04:25 -0700 |
commit | fc818d31de267d2b77fda3b3029ad38d48698be8 (patch) | |
tree | 122ebf54d3378578c1ded4d786ba3940d4a911d2 /node_modules/montage/ui | |
parent | 120e31dcf1e11eed11ee430d77c438e7b073e9f8 (diff) | |
parent | c9852665eadc1acb9c1c881d207c4bd9ef88805f (diff) | |
download | ninja-fc818d31de267d2b77fda3b3029ad38d48698be8.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal
Diffstat (limited to 'node_modules/montage/ui')
107 files changed, 3443 insertions, 2939 deletions
diff --git a/node_modules/montage/ui/anchor.reel/anchor.js b/node_modules/montage/ui/anchor.reel/anchor.js index 2c12684b..62eefede 100644 --- a/node_modules/montage/ui/anchor.reel/anchor.js +++ b/node_modules/montage/ui/anchor.reel/anchor.js | |||
@@ -3,78 +3,22 @@ | |||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<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. | 4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
5 | </copyright> */ | 5 | </copyright> */ |
6 | 6 | /*global require,exports */ | |
7 | /** | ||
8 | @module "montage/ui/anchor.reel" | ||
9 | @requires montage/core/core | ||
10 | @requires montage/ui/native-control | ||
11 | */ | ||
12 | var Montage = require("montage").Montage, | 7 | var Montage = require("montage").Montage, |
13 | Component = require("ui/component").Component, | 8 | Component = require("ui/component").Component, |
14 | NativeControl = require("ui/native-control").NativeControl; | 9 | NativeAnchor = require("ui/native/anchor.reel").Anchor; |
15 | /** | ||
16 | The Anchor component wraps a native <code><a></code> element and exposes its standard attributes as bindable properties. | ||
17 | @class module:"montage/ui/anchor.reel".Anchor | ||
18 | @extends module:montage/native-control.NativeControl | ||
19 | |||
20 | */ | ||
21 | var Anchor = exports.Anchor = Montage.create(NativeControl, { | ||
22 | |||
23 | // HTMLAnchorElement methods | ||
24 | |||
25 | blur: { value: function() { this._element.blur(); } }, | ||
26 | focus |