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 --- .../ui/component-group.reel/component-group.js | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 node_modules/montage-user/ui/component-group.reel/component-group.js (limited to 'node_modules/montage-user/ui/component-group.reel/component-group.js') diff --git a/node_modules/montage-user/ui/component-group.reel/component-group.js b/node_modules/montage-user/ui/component-group.reel/component-group.js new file mode 100755 index 00000000..e9daab5b --- /dev/null +++ b/node_modules/montage-user/ui/component-group.reel/component-group.js @@ -0,0 +1,33 @@ +/* + 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. +
*/ +// TODO: ComponentList instead? ComponentContainer? +/** + @module "montage/ui/component-group.reel" + @requires montage/core/core + @requires montage/ui/component +*/ +var Montage = require("montage").Montage; +var Component = require("ui/component").Component; + +/** + @class module:"montage/ui/component-group.reel".ComponentGroup + @extends module:montage/ui/component.Component + */ +var ComponentGroup = exports.ComponentGroup = Montage.create(Component, /** @lends module:"montage/ui/component-group.reel".ComponentGroup# */ { + + hasTemplate: {value: false}, + +/** + Initializes the ComponentGroup instance's childComponents array with the specified array of components. + @function + @param {Component} components Components to be initialized. + @returns itself +*/ + initWithComponents: {value: function(components) { + this.childComponents = components; + return this; + }} +}); -- cgit v1.2.3