From 5a305ec44b2bd5198a248357439aae8ebbd75fee Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Thu, 2 Feb 2012 00:11:51 -0800 Subject: upgrading to Montage v0.6 Signed-off-by: Valerio Virgillito --- node_modules/montage/ui/anchor.reel/anchor.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 node_modules/montage/ui/anchor.reel/anchor.js (limited to 'node_modules/montage/ui/anchor.reel/anchor.js') 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 @@ +/* + 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