guillaumebort / play-sass Goto Github PK
View Code? Open in Web Editor NEWsass support for playframework
Home Page: http://www.playframework.org/modules/sass
sass support for playframework
Home Page: http://www.playframework.org/modules/sass
[SASS ERROR] _contrast.scss:10: Invalid CSS after \'...contrast-color(\': expected \')\', was \'$color,\' (Sass::SyntaxError)
I have tried to add compass and blueprint to my project. As read on the mailing list, all you need to do is to add the scss files to the directory and you should be good to go. I tried doing this, and everything works except for functions.
To reproduce:
Create new project, drop in compass/blueprint
in main.scss add:
@import "compass";
Maybe im missing something. Let me know if there is any way I can help
If you change the form of the line number comments in the generated css file from
/* line , */
to
@media -sass-debug-info{filename{font-family:file:}line{font-family:\0}}
then the line numbers will show up in firebug using the FireSass plugin.
To enable this, all you have to do is change line 108 of Engine.java from
options[:line_comments]
to
options[:debug_info]
Hi,
the joda-time version of Play Framework 1.2.4 has been updated to version 2.0. I noticed that play-sass version 1.1 contains the jruby-complete-1.5.3.jar library which in turn contains older version of joda-time. Including sass 1.1. module in play framework 1.2.4 project causes therefore a conflict.
You can try this in any controller method by calling
LocalDate localDate = new LocalDate();
Date date = localDate.toDate();
Hi, I have a on-fly compilation problem when using @import and two sass file :
This is a test case :
main.sass :
@import layout.sass
_layout.sass :
in a play template :
The problem :
When modify the _layout.sass content, the main.sass file is not re-compiled, to force the on-fly recompilation, I have to do a touch main.sass
Best regards,
Renaudeau Gaetan
propose an update of the documentation of the installation of this module. Remove the deprecated way of including module (via application.conf), point out that you have to run "play dependencies", to actually take use of the module, do an F5 (in Eclipse) to really "import" the modulle into the application, and possibly even restart the application (not sure if there also need for "play ec"), the documentation in it's current state does not really point these thing out clearly.
Just a thought
//Kalle
PS refering to similar experience,
https://groups.google.com/forum/?fromgroups=#!searchin/play-framework/sass/play-framework/2zdSwPP84YU/Jr2lCAOHD4YJ
DS
Doesn't work with modern Play versions, due to library conflicts (Joda time being one). Pull request will follow.
Hi,
during deployment to GAE the follow Exception occurs:
java.lang.IllegalStateException: Found a jar file too large to upload: [..] jruby-complete-1.4.0.jar
Using --enable_jar_splitting option doesn't fix the problem
To fix this, the jar needs to be splitted. Please have a look at http://olabini.com/blog/2009/04/jruby-on-rails-on-google-app-engine/
thanks.
currently the response.cacheFor is set to "1hr" in prod mode. Could this be set instead to the value of http.cacheControl?
I wish I could Isolate all my css / js work within a dedicated module, including framework 3rd party, and then build my app against this module, with or without sass-module dep (I'm willing to keep it at dev level, within a underlying dev dedicated app)
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.