Use UI.safeEquals for Blaze.With dataVar

This commit is contained in:
Emily Stark
2014-06-06 11:59:49 -07:00
parent cff3b175c0
commit d8c442faff

View File

@@ -34,7 +34,8 @@ Blaze.With = Blaze.Controller.extend({
Blaze.With.__super__.constructor.call(this);
this.dataVar = (data instanceof Blaze.Var) ? data : Blaze.Var(data);
this.dataVar = (data instanceof Blaze.Var) ? data :
Blaze.Var(data, UI.safeEquals);
this.func = func;
},
render: function () {