Skip to content

Commit 91c50c0

Browse files
committed
Issue #22
1 parent 188fa8b commit 91c50c0

File tree

3 files changed

+167
-167
lines changed

3 files changed

+167
-167
lines changed

demos/po-npm/mappings/PurchaseOrder.compact.js

+37-37
Original file line numberDiff line numberDiff line change
@@ -40,37 +40,14 @@ var PurchaseOrder_Module_Factory = function () {
4040
t: 'a'
4141
}]
4242
}, {
43-
ln: 'PurchaseOrderType',
43+
ln: 'Items',
4444
ps: [{
45-
n: 'shipTo',
46-
en: {
47-
lp: 'shipTo'
48-
},
49-
ti: '.USAddress'
50-
}, {
51-
n: 'billTo',
52-
en: {
53-
lp: 'billTo'
54-
},
55-
ti: '.USAddress'
56-
}, {
57-
n: 'comment',
58-
en: {
59-
lp: 'comment'
60-
}
61-
}, {
62-
n: 'items',
45+
n: 'item',
46+
col: true,
6347
en: {
64-
lp: 'items'
65-
},
66-
ti: '.Items'
67-
}, {
68-
n: 'orderDate',
69-
ti: 'Calendar',
70-
an: {
71-
lp: 'orderDate'
48+
lp: 'item'
7249
},
73-
t: 'a'
50+
ti: '.Items.Item'
7451
}]
7552
}, {
7653
ln: 'USAddress',
@@ -108,25 +85,48 @@ var PurchaseOrder_Module_Factory = function () {
10885
t: 'a'
10986
}]
11087
}, {
111-
ln: 'Items',
88+
ln: 'PurchaseOrderType',
11289
ps: [{
113-
n: 'item',
114-
col: true,
90+
n: 'shipTo',
11591
en: {
116-
lp: 'item'
92+
lp: 'shipTo'
11793
},
118-
ti: '.Items.Item'
94+
ti: '.USAddress'
95+
}, {
96+
n: 'billTo',
97+
en: {
98+
lp: 'billTo'
99+
},
100+
ti: '.USAddress'
101+
}, {
102+
n: 'comment',
103+
en: {
104+
lp: 'comment'
105+
}
106+
}, {
107+
n: 'items',
108+
en: {
109+
lp: 'items'
110+
},
111+
ti: '.Items'
112+
}, {
113+
n: 'orderDate',
114+
ti: 'Calendar',
115+
an: {
116+
lp: 'orderDate'
117+
},
118+
t: 'a'
119119
}]
120120
}],
121121
eis: [{
122+
en: {
123+
lp: 'comment'
124+
}
125+
}, {
122126
en: {
123127
lp: 'purchaseOrder'
124128
},
125129
ti: '.PurchaseOrderType'
126-
}, {
127-
en: {
128-
lp: 'comment'
129-
}
130130
}]
131131
};
132132
return {

0 commit comments

Comments
 (0)