schmittjoh/twig.js — pull request #74 by kimlai (2014-02-02 19:09:51+00:00)
Title: Change the scope of ModuleCompiler->functionName to protected.

Hi.

This PR is related to https://github.com/schmittjoh/JMSTwigJsBundle/issues/25.
To be able to output AMD compatible templates, I extended the `ModuleCompiler` (see https://github.com/kimlai/melikeyradio/blob/master/src/MeLikey/WebAppBundle/TwigJs/Compiler/AmdModuleCompiler.php), but to do so I need to access the `functionName` property in the child
class.

I couldn't come up with a way around this change for me to get require-js compatible templates.