mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
7bc6f3ee9f
This caught us out recently where code did a strict type check for `myVar === undefined`. The var was defined as `let myVar;`, without a value - so the check returned false (it's `null`). To avoid this situation, we've decided to enforce declarations with values. Note that preference should be given to single, immutable assignments via const where possible. See http://eslint.org/docs/rules/init-declarations |
||
---|---|---|
.. | ||
AddToCampaignForm.js | ||
bundle-framework.js | ||
bundle-legacy.js | ||
bundle-lib.js | ||
CMSSecurity.js | ||
leaktools.js | ||
LeftAndMain.ActionTabSet.js | ||
LeftAndMain.BatchActions.js | ||
LeftAndMain.Content.js | ||
LeftAndMain.EditForm.js | ||
LeftAndMain.FieldDescriptionToggle.js | ||
LeftAndMain.FieldHelp.js | ||
LeftAndMain.js | ||
LeftAndMain.Layout.js | ||
LeftAndMain.Menu.js | ||
LeftAndMain.Panel.js | ||
LeftAndMain.Ping.js | ||
LeftAndMain.Preview.js | ||
LeftAndMain.Tree.js | ||
LeftAndMain.TreeDropdownField.js | ||
MemberDatetimeOptionsetField.js | ||
MemberImportForm.js | ||
ModelAdmin.js | ||
SecurityAdmin.js | ||
sspath.js | ||
ssui.core.js |