View Issue Details

IDProjectCategoryView StatusLast Update
0023972Runner[All Projects] HTML5Public2017-03-17 10:52
ReporterblueFireAssigned ToRussell Kay 
PriorityNoneSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OS OS Version
Summary0023972: HTML5: Project will not run due to Syntax Error
DescriptionCreated a project which runs with no errors on windows but will not run at all on HTML5. I get an error message in the web console saying: syntaxError: expected expression, got keyword 'instanceof'PC-1.js:213:394
Additional InformationOriginal helpdesk ticket:

Attached project is
1.4 Found In1.4.1760
2.x Runtime Found In
2.x Runtime Verified In


Russell Kay

2017-01-25 14:24

Manager   ~0051316

The problem you are seeing is that you have used

sprite_index[0] = spr

in the Image Loaded async event of the controller_affiliate object this is being erroneously compiled, it should actually be

sprite_index = spr

as the sprite_index built in variable does not handle arrays

Russell Kay

2017-01-25 14:41

Manager   ~0051317

Fixed in gitlab 9cc9497

Ross Manthorp

2017-03-17 10:52

Adminstrator   ~0052257

Verified. Closing.