Project: appceleratorstudio
Issue TISTUD-4675: Incorrect syntax error notification for a Node.js model's use of the keyword 'default'
Incorrect syntax error notification for a Node.js model's use of the keyword 'default' I installed an npm mode mysql (https://npmjs.org/package/mysql) which installed nicely but Titanium Studio (3.1.0.201304151600) is throwing exception errors related to an object property named 'default'. Code snippet is below: {code:javascript} module.exports = FieldPacket; function FieldPacket(options) { options = options || {}; this.catalog = options.catalog; this.db = options.db; this.table = options.table; this.orgTable = options.orgTable; this.name = options.name; this.orgName = options.orgName; this.filler1 = undefined; this.charsetNr = options.charsetNr; this.length = options.length; this.type = options.type; this.flags = options.flags; this.decimals = options.decimals; this.filler2 = undefined; this.default = options.default; //<==== THIS IS WHERE THE SYNTAX ERROR IS this.zeroFill = options.zeroFill; this.protocol41 = options.protocol41 } . . . {code} Screen shot is attached
Story points: 8