janstieler / kirby-lessphp Goto Github PK
View Code? Open in Web Editor NEWLessphp for KirbyCMS
Lessphp for KirbyCMS
When I upload the plugin file in root of 'plugins', it works great, but not in a subfolder 'lessphp'.
Hi,
I'm using default lesshat.less (http://lesshat.com/) and remixins.less (https://github.com/christopher-ramirez/remixings/blob/master/remixins.less) in my projects. Your Plugin seems to have some Problems with the Functions these files use:
Fatal error: Uncaught exception 'Exception' with message 'parse error: failed at `var arg = "@{arguments}".replace("[","").replace("]","") || "none"; if( !/^\w*([ X])/.test(arg) ) { arg = arg.replace(/,/g,"") } return arg; })()`;` /Applications/MAMP/htdocs/assets/less/lesshat.less on line 105' in /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php:3460 Stack trace: #0 /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php(2273): lessc_parser->throwError() #1 /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php(121): lessc_parser->parse('// LESS Hat 1....') #2 /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php(753): lessc->tryImport(Array, Object(stdClass), Object(stdClass)) #3 /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php(284): lessc->compileProp(Array, Object(stdClass), Object(stdClass)) #4 /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php(278): lessc->compileProps in /Applications/MAMP/htdocs/site/plugins/lessphp/less.inc.php on line 3460
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.