aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/anchor.reel/anchor.js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-02 18:00:45 -0800
committerJose Antonio Marquez2012-02-02 18:00:45 -0800
commit04d89daed90c35a4393773ca2e2d0ac3a4c15cd4 (patch)
treed0041abc7379ef38b20cce148e5dea6f531b8569 /node_modules/montage/ui/anchor.reel/anchor.js
parent4d8306b638c53899403a4f0328c02bf1ab893e8f (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-04d89daed90c35a4393773ca2e2d0ac3a4c15cd4.tar.gz
Merge branch 'refs/heads/NinjaInternal' into FileIO
Conflicts: .gitignore js/ninja.reel/ninja.js
Diffstat (limited to 'node_modules/montage/ui/anchor.reel/anchor.js')
-rw-r--r--node_modules/montage/ui/anchor.reel/anchor.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/node_modules/montage/ui/anchor.reel/anchor.js b/node_modules/montage/ui/anchor.reel/anchor.js
new file mode 100644
index 00000000..d8ac1d8f
--- /dev/null
+++ b/node_modules/montage/ui/anchor.reel/anchor.js
@@ -0,0 +1,26 @@
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> */
6var Montage = require("montage").Montage,
7 Component = require("ui/component").Component,
8 NativeControl = require("ui/native-control").NativeControl;
9
10/**
11 * The <a> native control with binding support for the standard attributes
12 */
13var Anchor = exports.Anchor = Montage.create(NativeControl, {
14
15});
16
17http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element
18Anchor.addAttributes({
19 textContent: null,
20 href: null,
21 hreflang: null,
22 media: null,
23 rel: null,
24 target: null,
25 type: null
26});