silverstripe-framework/admin/client/dist/js
Ingo Schommer 984d7c1cf6 Don't use Object.freeze on functions (fixes #5473)
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.
2016-05-09 21:19:43 +12:00
..
AddToCampaignForm.js Fix eslint errors (#5411) 2016-05-02 08:51:31 +12:00
bundle-framework.js Don't use Object.freeze on functions (fixes #5473) 2016-05-09 21:19:43 +12:00
bundle-leftandmain.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
bundle-legacy.js Fix unguarded JS check in LeftAndMain.Preview.js 2016-05-06 14:42:20 +12:00
bundle-lib.js Don't use Object.freeze on functions (fixes #5473) 2016-05-09 21:19:43 +12:00
CMSSecurity.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
leaktools.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.ActionTabSet.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.BatchActions.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.Content.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.EditForm.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.FieldDescriptionToggle.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.FieldHelp.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.js Merge 3 into master 2016-04-29 17:50:55 +12:00
LeftAndMain.Layout.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.Menu.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.Panel.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.Ping.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.Preview.js Fix unguarded JS check in LeftAndMain.Preview.js 2016-05-06 14:42:20 +12:00
LeftAndMain.Tree.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
LeftAndMain.TreeDropdownField.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
MemberDatetimeOptionsetField.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
MemberImportForm.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
ModelAdmin.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
SecurityAdmin.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
sspath.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00
ssui.core.js API Moved frontend assets into admin/client/ 2016-04-20 21:13:10 +12:00