stop relying on any prototype extension (#697)

This commit is contained in:
Jeldrik Hanschke 2023-10-18 16:33:17 +02:00 committed by GitHub
parent 3a23719127
commit 20f427c074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,12 +7,7 @@ module.exports = function (environment) {
rootURL: '', rootURL: '',
locationType: 'hash', locationType: 'hash',
EmberENV: { EmberENV: {
EXTEND_PROTOTYPES: { EXTEND_PROTOTYPES: false,
Array: false,
Date: false,
String: false,
Function: true,
},
FEATURES: { FEATURES: {
// Here you can enable experimental features on an ember canary build // Here you can enable experimental features on an ember canary build
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true // e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true