From 8070224d9d61ba7f0e0656f92c7820ae518d9a4c Mon Sep 17 00:00:00 2001 From: Dima Granetchi Date: Sun, 30 Nov 2014 13:55:06 +0200 Subject: [PATCH] string interpolation in sample --- samples/userInfo/src/UserView.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/userInfo/src/UserView.hx b/samples/userInfo/src/UserView.hx index 0656420..361a8e0 100644 --- a/samples/userInfo/src/UserView.hx +++ b/samples/userInfo/src/UserView.hx @@ -23,7 +23,7 @@ class UserView { user = value; if (user != null) { // BindExt.exprTo auto dispatch first time - unbindOldUser = BindExt.exprTo("Hello " + user.name + ". You have " + user.coins + " coins", this.textField.text); + unbindOldUser = BindExt.exprTo('Hello ${user.name}. You have ' + user.coins + " coins", this.textField.text); Bind.bind(user.health, onHealthChange); // manual dispatch