mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
984d7c1cf6
We're not using it for any other props passed to ReactJS components, so there's no reason to do it here. Props are immutable by convention. While it would be nice to enforce this, its too common to pass through function objects which aren't supported by IE's Object.freeze(). IE isn't following the spec on how to handle Object.freeze(function() {}). See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze#Notes > In ES6, a non-object argument will be treated as if it was a frozen ordinary object, simply return it. MS docs on https://msdn.microsoft.com/en-us/subscriptions/downloads/ff806186(v=vs.94).aspx > If the object argument is not an object, a TypeError exception is thrown. |
||
---|---|---|
.. | ||
AddToCampaignForm.js | ||
bundle-framework.js | ||
bundle-leftandmain.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 |