#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.
Note:
See TracTickets
for help on using tickets.
(In [7456]) # Compile gameplay scripts in strict mode. Fixes #487.