diff --git a/examples/useContext.html b/examples/useContext.html index 8762ba34c..2c23788cf 100644 --- a/examples/useContext.html +++ b/examples/useContext.html @@ -40,14 +40,17 @@ setInterval(function () { context.toggle(); }, 1000); - BI.watch(context, "expand", function () { - label.setText(context.model.text); - }); + // BI.watch(context, "expand", function () { + // label.setText(context.model.text); + // }); return { type: "bi.label", ref: function (_ref) { label = _ref; }, + effect: function (w) { + w.setText(context.model.text) + }, text: function () { return context.model.text; }