mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:31:10 +08:00
Ember.keys
is deprected in favor of Object.keys
This commit is contained in:
@ -132,7 +132,7 @@ window.asyncTestDiscourse = helpers.asyncTestDiscourse;
|
||||
window.controllerFor = helpers.controllerFor;
|
||||
window.fixture = helpers.fixture;
|
||||
|
||||
Ember.keys(requirejs.entries).forEach(function(entry) {
|
||||
Object.keys(requirejs.entries).forEach(function(entry) {
|
||||
if ((/\-test/).test(entry)) {
|
||||
require(entry, null, null, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user