diff options
author | Armen Kesablyan | 2012-05-17 13:33:43 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-05-17 13:33:43 -0700 |
commit | 9ee3e1c548758a168a2008847a9136dd52398cf2 (patch) | |
tree | d4a239112d0ed9e078262dc287888c744a50797f /js/panels/objects/object.reel/object.html | |
parent | d48f086ad64badf07b5f82bf6e0216074eac7a25 (diff) | |
parent | ee3702894b5c69a74f47b22aa5f2c8f58ad0179c (diff) | |
download | ninja-9ee3e1c548758a168a2008847a9136dd52398cf2.tar.gz |
Merge branch 'binding' of https://github.com/dhg637/ninja-internal into binding
Diffstat (limited to 'js/panels/objects/object.reel/object.html')
-rw-r--r-- | js/panels/objects/object.reel/object.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/js/panels/objects/object.reel/object.html b/js/panels/objects/object.reel/object.html new file mode 100644 index 00000000..efc66d79 --- /dev/null +++ b/js/panels/objects/object.reel/object.html | |||
@@ -0,0 +1,47 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html> | ||
8 | <head> | ||
9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
10 | <link rel="stylesheet" type="text/css" href="object.css"> | ||
11 | |||
12 | <script type="text/montage-serialization"> | ||
13 | { | ||
14 | "owner": { | ||
15 | "prototype": "js/panels/objects/object.reel", | ||
16 | "properties": { | ||
17 | "element": {"#": "object"} | ||
18 | } | ||
19 | }, | ||
20 | "labelText": { | ||
21 | "prototype": "montage/ui/dynamic-text.reel", | ||
22 | "properties": { | ||
23 | "element": {"#": "label" } | ||
24 | }, | ||
25 | "bindings": { | ||
26 | "value" : { | ||
27 | "boundObject": {"@": "owner"}, | ||
28 | "boundObjectPropertyPath": "label", | ||
29 | "oneway": true | ||
30 | } | ||
31 | } | ||
32 | } | ||
33 | |||
34 | } | ||
35 | </script> | ||
36 | |||
37 | </head> | ||
38 | <body> | ||
39 | |||
40 | |||
41 | <li data-montage-id="object"> | ||
42 | <div class="object-icon"></div> | ||
43 | <span data-montage-id="label" class="object-label"></span> | ||
44 | </li> | ||
45 | |||
46 | </body> | ||
47 | </html> | ||