mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Ember.warn needs an id
This way errors can be customized/silenced in the console.
This commit is contained in:
@@ -19,7 +19,9 @@ const Mixin = {
|
||||
|
||||
export function bufferedRender(obj) {
|
||||
if (!obj.buildBuffer) {
|
||||
Ember.warn("Missing `buildBuffer` method");
|
||||
Ember.warn("Missing `buildBuffer` method", {
|
||||
id: "discourse.buffered-render.missing-build-buffer"
|
||||
});
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user