From b89a7ee8b956c96a1dcee995ea840feddc5d4b27 Mon Sep 17 00:00:00 2001 From: Pierre Frisch Date: Thu, 22 Dec 2011 07:25:50 -0800 Subject: First commit of Ninja to ninja-internal Signed-off-by: Valerio Virgillito --- js/components/ui/tree-basic/tree.reel/tree.css | 9 ++++ js/components/ui/tree-basic/tree.reel/tree.html | 67 +++++++++++++++++++++++++ js/components/ui/tree-basic/tree.reel/tree.js | 43 ++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 js/components/ui/tree-basic/tree.reel/tree.css create mode 100644 js/components/ui/tree-basic/tree.reel/tree.html create mode 100644 js/components/ui/tree-basic/tree.reel/tree.js (limited to 'js/components/ui/tree-basic/tree.reel') diff --git a/js/components/ui/tree-basic/tree.reel/tree.css b/js/components/ui/tree-basic/tree.reel/tree.css new file mode 100644 index 00000000..878068b7 --- /dev/null +++ b/js/components/ui/tree-basic/tree.reel/tree.css @@ -0,0 +1,9 @@ +/* + 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. +
*/ + +.atree ul{ + -webkit-padding-start: 20px; +} \ No newline at end of file diff --git a/js/components/ui/tree-basic/tree.reel/tree.html b/js/components/ui/tree-basic/tree.reel/tree.html new file mode 100644 index 00000000..ba594926 --- /dev/null +++ b/js/components/ui/tree-basic/tree.reel/tree.html @@ -0,0 +1,67 @@ + + + + + + + + + +
+ +
+ + \ No newline at end of file diff --git a/js/components/ui/tree-basic/tree.reel/tree.js b/js/components/ui/tree-basic/tree.reel/tree.js new file mode 100644 index 00000000..67fa20e5 --- /dev/null +++ b/js/components/ui/tree-basic/tree.reel/tree.js @@ -0,0 +1,43 @@ +/* +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/core/core").Montage; +var Component = require("montage/ui/component").Component; + +exports.Tree = Montage.create(Component, { + + treeViewDataObject:{ + writable:true, + enumerable:true, + value:null + }, + + showIcons :{ + writable:true, + enumerable:true, + value:true + }, + + willDraw: { + enumerable: false, + value: function() { + + } + }, + draw: { + enumerable: false, + value: function() { + + } + }, + didDraw: { + enumerable: false, + value: function() { + + } + } + +}); \ No newline at end of file -- cgit v1.2.3