I found the cgjs_render possibilities and started testing with it.
Beside this is a great feature to combine and minimalize css and javascript, I come acress a weird thing I can't find a solution for.
This feature strips extra spaces, what normally is good.
But now I noticed that some of my CSS was not working anymore.
After some searching and comparing I saw the cause:
In CSS I also use the calc() method for some styling.
Appearently the cgjs function strips away the space in my code and the browser does not accept it anymore.
In example:
Code: Select all
padding-top: calc(50% - 30px);
Code: Select all
padding-top: calc(50%-30px);
Or do I have to inform Calguy in the forge about this?
grts Tim