From 8592cfb89db05f0e52d8c1b8c7046e6f49e3522d Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 1 Feb 2012 00:09:27 -0800 Subject: Adding a montage framework copy for the user document Adding a new montage copy containing the latest version of montage to use the new native widgets Signed-off-by: Valerio Virgillito --- node_modules/montage-user/ui/anchor.reel/anchor.js | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 node_modules/montage-user/ui/anchor.reel/anchor.js (limited to 'node_modules/montage-user/ui/anchor.reel') diff --git a/node_modules/montage-user/ui/anchor.reel/anchor.js b/node_modules/montage-user/ui/anchor.reel/anchor.js new file mode 100644 index 00000000..d8ac1d8f --- /dev/null +++ b/node_modules/montage-user/ui/anchor.reel/anchor.js @@ -0,0 +1,26 @@ +/* + This file contains proprietary software owned by Motorola Mobility, Inc.
+ No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+ (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ +var Montage = require("montage").Montage, + Component = require("ui/component").Component, + NativeControl = require("ui/native-control").NativeControl; + +/** + * The native control with binding support for the standard attributes + */ +var Anchor = exports.Anchor = Montage.create(NativeControl, { + +}); + +http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element +Anchor.addAttributes({ + textContent: null, + href: null, + hreflang: null, + media: null, + rel: null, + target: null, + type: null +}); -- cgit v1.2.3