mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: removes _.each from codebase (#6629)
This commit is contained in:
@ -21,7 +21,7 @@ export default Ember.Controller.extend({
|
||||
var raw = this.get("model.query_plan"),
|
||||
returned = "<pre class='badge-query-plan'>";
|
||||
|
||||
_.each(raw, function(linehash) {
|
||||
raw.forEach(linehash => {
|
||||
returned += escapeExpression(linehash["QUERY PLAN"]);
|
||||
returned += "<br>";
|
||||
});
|
||||
|
Reference in New Issue
Block a user