projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d29e0
)
Builder/LeftPanel.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 13 May 2010 06:33:40 +0000
(14:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 13 May 2010 06:33:40 +0000
(14:33 +0800)
Builder/LeftPanel.js
patch
|
blob
|
history
diff --git
a/Builder/LeftPanel.js
b/Builder/LeftPanel.js
index
aba8de4
..
3a47b03
100755
(executable)
--- a/
Builder/LeftPanel.js
+++ b/
Builder/LeftPanel.js
@@
-159,7
+159,13
@@
LeftPanel = new XObject({
}
- data[info.key] = info.val;
+ if (etype == 'event') {
+ data.listeners = data.listeners || { };
+ data.listeners[[info.key] = info.val;
+ } else {
+ data[info.key] = info.val;
+ }
+
this.load(data);
var LeftTree = imports.Builder.LeftTree.LeftTree;