diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /node_modules/montage/ui/loading-panel.reel/loading-panel.js | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/loading-panel.reel/loading-panel.js')
-rwxr-xr-x | node_modules/montage/ui/loading-panel.reel/loading-panel.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/node_modules/montage/ui/loading-panel.reel/loading-panel.js b/node_modules/montage/ui/loading-panel.reel/loading-panel.js new file mode 100755 index 00000000..61bde475 --- /dev/null +++ b/node_modules/montage/ui/loading-panel.reel/loading-panel.js | |||
@@ -0,0 +1,38 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | /** | ||
8 | @module "montage/ui/loading-panel.reel" | ||
9 | */ | ||
10 | |||
11 | var Montage = require("montage").Montage, | ||
12 | Component = require("ui/component").Component; | ||
13 | |||
14 | /** | ||
15 | @class module:montage/ui/loading-panel.LoadingPanel | ||
16 | @extends module:montage/ui/component.Component | ||
17 | */ | ||
18 | |||
19 | exports.LoadingPanel = Montage.create(Component, /** @lends module:montage/ui/loading-panel.LoadingPanel# */ { | ||
20 | |||
21 | /** | ||
22 | The number of modules that are required to load. | ||
23 | */ | ||
24 | requiredModuleCount: { | ||
25 | enumerable: false, | ||
26 | value: 0 | ||
27 | }, | ||
28 | |||
29 | /** | ||
30 | The number of modules that have been initialized. | ||
31 | */ | ||
32 | initializedModuleCount: { | ||
33 | enumerable: false, | ||
34 | value: 0 | ||
35 | } | ||
36 | |||
37 | |||
38 | }); | ||