Giter Club home page Giter Club logo

Comments (3)

metaskills avatar metaskills commented on August 29, 2024

That is a feature of (1) less itself, then (2) tilt which is under (3) sprockets which renders a page using tilts parse errors. So it should work just fine. I do not know of any configuration values to make it happen either. Should be on by default.

I just did a check with lessc at the command line and no errors. So perhaps less does not report errors? I'll have to investigate further. This could be a bug with Less.js or Less.rb.

from less-rails.

bradphelan avatar bradphelan commented on August 29, 2024

There is a problem with the less GEM

----------------------
gems/less-2.0.9/lib/less/parser.rb
----------------------
62     def parse(less)
63       calljs do
64         error,tree = nil
65         @parser.parse(less, lambda {|e, t|
66           error = e; tree = t
67         })
68         raise Exception.new(error.message) if error
69         Tree.new(tree) if tree
70       end
71     end

Adding the highlighted line on line 68 in the gem work brilliantly. However
I think this is the wrong place for this and it is a work around not a fix but
it helps me at the moment port all my files from scss to less :)

from less-rails.

metaskills avatar metaskills commented on August 29, 2024

I'm gonna close this ticket as I think this issue (cowboyd/less.rb#19) on less.rb addresses. it. If not and I am blocking that or need to do anything with less-rails, please let me know and I'll open this ticket up. Cheers! BTW, I love Jasminerice. Been doing a series of articles on it as I test my upcoming project using Spine.JS. Cheers!

from less-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.