New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.3.0 #47

Merged
merged 74 commits into from Sep 25, 2016
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 −4
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Fix bugs, calling auto generated function, removing namespace and `_`…

… character
  • Loading branch information...
emulienfou committed Sep 22, 2016
commit bef95db695f33e8bec72896b14db834471a90c87
View
@@ -2143,12 +2143,10 @@ protected function parseFunction($in, $from, $to, $parsingParams = false, $curBl
$output = 'smarty_function_' . $func . '(array(' . $params . '), $this)';
}
} elseif ($pluginType & Core::TEMPLATE_PLUGIN) {
// TODO: check namespace need or not, remove `_` too
array_unshift($params, '$this');
$params = self::implode_r($params);
$output = Core::NAMESPACE_PLUGINS_FUNCTIONS . 'Plugin' . Core::toCamelCase($func) .
'_' .
$this->templatePlugins[$func]['uuid'] . '(' . $params . ')';
$output = 'Plugin' . Core::toCamelCase($func) .
$this->templatePlugins[$func]['uuid'] . '(' . $params . ')';
$this->templatePlugins[$func]['called'] = true;
}
ProTip! Use n and p to navigate between commits in a pull request.