Skip to content
Browse files

[Template] Update Template.Engine.compile to assume Winxed is returni…

…ng a PackfileView instead of an Eval
  • Loading branch information...
1 parent ed7832a commit 4870feac5f98c8c1ce28ac5c78b7c3dda3fc2ae9 @Whiteknight committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/template/Engine.winxed
View
2 src/template/Engine.winxed
@@ -150,7 +150,7 @@
{
var wx = Rosella.get_winxed_compiler();
string wx_code = self.compile_to_winxed(tmpl);
- return wx.compile(wx_code)[0];
+ return wx.compile(wx_code);
}
function compile_from_file(string filename, var builder [optional], int has_builder [opt_flag], int recurse [named,optional], int has_recurse [opt_flag])

0 comments on commit 4870fea

Please sign in to comment.
Something went wrong with that request. Please try again.