Details
Description
Strict mode breaks Infusion components in Safari causing the following error to appear in the console. Disabling strict mode fixes this. Firefox and Chrome in Mac is fine.
[Error] TypeError: Attempted to assign to readonly property.
(anonymous function) (Fluid.js, line 1461)
transformInternal (Fluid.js, line 419)
transform (Fluid.js, line 440)
(anonymous function) (Fluid.js, line 1460)
transformInternal (Fluid.js, line 419)
transform (Fluid.js, line 444)
annotateListeners (Fluid.js, line 1458)
rawDefaults (Fluid.js, line 1476)
defaults (Fluid.js, line 1530)
(anonymous function) (OverviewPanel.js, line 24)
[Error] TypeError: '[object Object]' is not a function (evaluating 'fluid.overviewPanel(".flc-overviewPanel")')
(anonymous function) (overviewPanel.html, line 44)
fire (jquery.js, line 3099)
fireWith (jquery.js, line 3211)
ready (jquery.js, line 3423)
completed (jquery.js, line 3453)
To reproduce:
1. Load any infusion demo (i.e. image reorderer or inline edit) in Safari
2. Notice you can't interact with the demo.
3. Remove / comment 'use strict' from Fluid.js
4. Reload demo in Safari - notice that the demo works.
Attachments
Issue Links
- is depended on by
-
FLUID-5284 switch from jslint to jshint
-
- Closed
-