View Issue Details

IDProjectCategoryView StatusLast Update
0015863RunnerHTML5Public2019-05-14 08:47
ReporterYellowAfterlifeAssigned ToMike Dailly 
PriorityVery LowSeverityD - MinorReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OSOS Version
Product VersionPre-2.1.3 
Target Version2.2.1Fixed in Version2.2.1 
Summary0015863: HTML5: Remove trailing commas in array/object initializations
DescriptionWhile most browsers certainly don't care about this, apparently (according to Google Closure error list) array/object notation of format

is not okay by the standard:
thus has to be changed into

even if that takes only a tiny bit of code.

Generally, GameMaker: Studio generates data in appropriate notation, except for:
GMRooms[].backgrounds[], e.g.
{visible: true,index: 0,x: 21,y: 23,htiled: false,vtiled: false,},

GMRooms[].views[], e.g.
{visible: true,wview: 480,hview: 440,wport: 480,hport: 440,},

Super Sonic Ads JSON, e.g.
var ssa_json = {'applicationUserId': '1234','applicationKey': '2b46ec59','onCampaignsReady': _pK,'onCampaignsDone': _sK,'onCampaignClose': _rK,'onCampaignOpen': _uK,'maxWidth': 1000,'maxHeight': 700,};

var _9Y1 = {'EQUALPOWER': 'equalpower','HRTF': 'HRTF','LINEAR_DISTANCE': 'linear','INVERSE_DISTANCE': 'inverse','EXPONENTIAL_DISTANCE': 'exponential',};

(some mysterious tizen IAP function),
[new tizen.ApplicationControlData('_itemId', [_hH1]), new tizen.ApplicationControlData('_itemGroupId', [_bG1]), new tizen.ApplicationControlData('_transactionId', [_Fp1]), ]

Triggers: [{}, ],

(speaking of triggers, is trigger handling code meant to be around at all?)

That's all, from a glance
TagsCompiler, html5
1.4 Found In1.4.1398
2.x Runtime Found In
2.x Runtime Verified In9.9.1.1437


Mike Dailly

2018-07-27 17:24

Developer   ~0060950