Am puzzled now, like really puzzled:
got this javascript object:
{
x: 0,
y: 0,
w: 28,
h: 25,
itemid: "5FE6E709096C4B57999AABC3575AF5D8",
moveable: true,
type: "4",
fontface: "",
text: "ef00704dd40e4768a1b15c14af9b6c4b.png",
fontsize: 0,
color: "",
opacity: "",
align: 0
}
if I do console.log(theaboveobject); it outputs fine.
however if I do console.log(object.w) or console.log(object.h) I get 0 as the response 2 nights in a row this has done my head in now, whats going on, what am i missing?
console.log(artworkLine); // this outputs fine as above
console.log(artworkLine.w); // says 0
console.log(artworkLine.h); // says 0