edgecase / dieter

Asset pipeline ring middleware
134 stars 22 forks source link

V8 breaks Less #51

Open shishkin opened 11 years ago

shishkin commented 11 years ago

Less compilation throws when using V8. See 3052d2871bb28af2c19c66071ad39e617a63804e and try lein test

For some reason Rhino gets called:

ERROR in (test-asset-pipeline) (Reflector.java:53)
development mode mime types
expected: (= "text/css" (mime-req opts "/assets/stylesheets/basic.less"))
  actual: java.lang.IllegalArgumentException: No matching method found: get for class com.sun.jna.Pointer
 at clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:53)
    clojure.lang.Reflector.invokeInstanceMethod (Reflector.java:28)
    dieter.rhino$call.invoke (rhino.clj:57)
    dieter.jsengine$run_compiler.doInvoke (jsengine.clj:17)
    ...