Closed ghost closed 12 years ago
The coffe one, I won't be able to fix as I'm really not willing to patch third party libraries - especially not for something like supporting an unsupported version of the language.
The other one, I'll look into.
I submitted a pull request for all the issues I mentioned, including the coffee script issue. If the system is 5.3 and coffee script is installed, it will work. Other wise, if 5.2 it will not support coffeescript.
Merged your pull request (thanks a lot and sorry for being so late - lots of other stuff to do).
The use of CoffeeScript's namespace,
Coffeescript\compile($js);
, on line 294 insacy_JavaScriptRenderHandler::processFile
causes it to fail compilation on php 5.2 installs.Also, the
static
keyword on line 266 insacy_JavaScriptRenderHandler::willTransformType
kills the compilation. It can be changed toself
safely as nothing extends that class and is how that function is called elsewhere.