summaryrefslogtreecommitdiffstats
path: root/lib/Text/Handlebars.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-15 00:42:07 -0500
committerJesse Luehrs <doy@tozt.net>2013-01-02 13:56:20 -0600
commit01c2301937d6c0029408a40fa5e4a5c868516e4c (patch)
tree07060c2370190584adfc91c63a49bc5e131442cb /lib/Text/Handlebars.pm
parent9182f9a9db2c347549bd7557b042f41f41d22619 (diff)
downloadtext-handlebars-01c2301937d6c0029408a40fa5e4a5c868516e4c.tar.gz
text-handlebars-01c2301937d6c0029408a40fa5e4a5c868516e4c.zip
turned render_string into an opcode
Diffstat (limited to 'lib/Text/Handlebars.pm')
-rw-r--r--lib/Text/Handlebars.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Text/Handlebars.pm b/lib/Text/Handlebars.pm
index 68c8d1f..154a78b 100644
--- a/lib/Text/Handlebars.pm
+++ b/lib/Text/Handlebars.pm
@@ -164,10 +164,6 @@ sub _register_builtin_methods {
my ($funcs) = @_;
weaken(my $weakself = $self);
- $funcs->{'(render_string)'} = sub {
- my ($to_render, $vars) = @_;
- return $weakself->render_string($to_render, $vars);
- };
$funcs->{'(find_file)'} = sub {
my ($filename) = @_;
return $filename if try { $weakself->find_file($filename); 1 };