Package com.asual.lesscss.compiler

Examples of com.asual.lesscss.compiler.NashornCompiler


        double version = Double.parseDouble(Runtime.class.getPackage()
            .getImplementationVersion().replaceFirst("^(\\d\\.\\d).*", "$1"));
      if (version < 1.8) {
        compiler = new RhinoCompiler(options, loader, less, env, engine, cssmin, sourceMap);       
      } else {
        compiler = new NashornCompiler(options, loader, less, env, engine, cssmin, sourceMap);
      }
    } catch (Exception e) {
      logger.error("LESS Engine intialization failed.", e);
    }
  }
View Full Code Here

TOP

Related Classes of com.asual.lesscss.compiler.NashornCompiler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.