在我的Google闭包代码中,我创建了一个枚举来表示CSS类的名称,并希望在我的soy模板中使用此枚举: * Lists a single widget.<span class='{app.ui.ClassNames.WIDGET_LISTING_ITEM}'>{$widget.title}</span>{/template}
我在
我正在尝试自学闭包模板。我创建了一个简单的文件simply.soy: * says hello to the world{/template}
然而,在我编译并调用document.write(examples.simple.hiWorld();之后,显示的字符串在"Hello“和”world“之间没有空格: