From dacc8296bc2cea87a726a71ef15baa26e9176c4e Mon Sep 17 00:00:00 2001 From: s-ol Date: Thu, 12 Jul 2018 00:37:51 +0200 Subject: towards env-agnostic component.moon --- app/component.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/component.moon') diff --git a/app/component.moon b/app/component.moon index f0bc77f..fc29f8c 100644 --- a/app/component.moon +++ b/app/component.moon @@ -95,7 +95,7 @@ class ReactiveElement table.insert @_subscriptions, child\subscribe (...) -> @append ... child = child\get! if 'string' == type child - print 'WARN: string from ReactiveVar implicitly converted to TextNode, updating may fail' + warn 'string from ReactiveVar implicitly converted to TextNode, updating may fail' child = asnode child ok, last = pcall asnode, last -- cgit v1.2.3