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:
62889cf
)
Sample/Window.js
author
Alan Knowles
<alan@akkbhome.com>
Wed, 1 Dec 2010 14:10:53 +0000
(22:10 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 1 Dec 2010 14:10:53 +0000
(22:10 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
d178f29
..
1838f25
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-3306,7
+3306,7
@@
Window=new XObject({
{
// does something similar to xobject..
{
// does something similar to xobject..
- item.pack = (typeof(item.pack) == 'undefined') ? 'add' : item.pack;
+
//
item.pack = (typeof(item.pack) == 'undefined') ? 'add' : item.pack;
// pack is forced to 'false'
if (item.pack===false || item.pack === 'false') { // no ;
// pack is forced to 'false'
if (item.pack===false || item.pack === 'false') { // no ;
@@
-3372,7
+3372,7
@@
Window=new XObject({
}
var altctr = XObject.baseXObject({ xtype: ctr} );
var pack_m = false;
}
var altctr = XObject.baseXObject({ xtype: ctr} );
var pack_m = false;
- if (!item.pack && altctr
!== false
) {
+ if (!item.pack && altctr) {
// try XObject.
print("SETTING PACK TO XObjectBase method");
pack_m = altctr.prototype.pack;
// try XObject.
print("SETTING PACK TO XObjectBase method");
pack_m = altctr.prototype.pack;
@@
-3390,6
+3390,7
@@
Window=new XObject({
var args = [];
if (!pack_m) {
var args = [];
if (!pack_m) {
+ item.pack = (typeof(item.pack) == 'undefined') ? 'add' : item.pack;
if (typeof(item.pack) == 'string') {
item.pack.split(',').forEach(function(e, i) {
if (typeof(item.pack) == 'string') {
item.pack.split(',').forEach(function(e, i) {