Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#487 closed task (fixed)

Use 'use strict'

Reported by: Philip Taylor Owned by:
Priority: Nice to Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Automatically prepend simulation scripts with "use strict"; so they run under ES5's tighter rules, to discourage bad code and potentially allow more efficient execution.

Change History (2)

comment:1 by philip, 14 years ago

Resolution: fixed
Status: newclosed

(In [7456]) # Compile gameplay scripts in strict mode. Fixes #487.

comment:2 by (none), 14 years ago

Milestone: Simulation stage 4

Milestone Simulation stage 4 deleted

Note: See TracTickets for help on using tickets.