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:
42d7a9e
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Nov 2010 07:28:00 +0000
(15:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Nov 2010 07:28:00 +0000
(15:28 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
2aaaa62
..
b8d5848
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-58,9
+58,13
@@
function XObject (cfg) {
//print ("XObject ctr");
- this.config = {};
- this.cfg = XObject.extend({}, cfg);
+ this.config = {}; // used to initialize GObject
+ this.cfg = XObject.extend({}, cfg); // used to store original configuration.. for referencing..
+
+ // we could use this to determine if
+ // we are actually inside a inherited class...
+ // as define() should actually set this up..
this.constructor = XObject;