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/panels/properties/section.reel/section.html | 50 ++++++++++++++++++++++++++ js/panels/properties/section.reel/section.js | 30 ++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 js/panels/properties/section.reel/section.html create mode 100644 js/panels/properties/section.reel/section.js (limited to 'js/panels/properties/section.reel') diff --git a/js/panels/properties/section.reel/section.html b/js/panels/properties/section.reel/section.html new file mode 100644 index 00000000..8a331119 --- /dev/null +++ b/js/panels/properties/section.reel/section.html @@ -0,0 +1,50 @@ + + + + + + + +
+

+
+
+

+
+
+ + \ No newline at end of file diff --git a/js/panels/properties/section.reel/section.js b/js/panels/properties/section.reel/section.js new file mode 100644 index 00000000..b246c171 --- /dev/null +++ b/js/panels/properties/section.reel/section.js @@ -0,0 +1,30 @@ +/* +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.Section = Montage.create(Component, { + + name: { + value: "Panel" + }, + + slot: { + value: null + }, + + content: { + value: null + }, + + prepareForDraw: { + value: function() { + this.element.getElementsByClassName("title")[0].innerHTML = this.name; + this.slot.content = this.content; + } + } +}); \ No newline at end of file -- cgit v1.2.3