projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cfbfa
)
XObject.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:39:39 +0000
(18:39 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:39:39 +0000
(18:39 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
6c20e0c
..
73ec967
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-55,7
+55,8
@@
function XObject (cfg) {
this.el = this.el || new this.xtype(o);
}
- if (!this.el && o.xns)
+ if (!this.el && o.xns) {
+
var NS = imports.gi[o.xns];
if (!NS) {
Seed.print('Invalid xns: ' + o.xns);
@@
-73,7
+74,6
@@
function XObject (cfg) {
}
}
-
// register it!
//if (o.xnsid && o.xid) {
// XObject.registry = XObject.registry || { };