github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

asual / lesscss-engine

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Click here to lend your support to: lesscss-engine and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

LESS Engine — Read more

  cancel

http://www.asual.com/lesscss

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updates version. 
asual (author)
Thu Jan 21 12:25:18 -0800 2010
commit  42f4d6e427994814c971cb18f7616076ca915ba8
tree    19cbf0a85e377fdc22b5b11121c8cda2decd3ace
parent  2fcdd9dce883357afdcfb619faca3bc403e38d83
lesscss-engine /
name age
history
message
file LICENSE Mon Oct 05 15:07:38 -0700 2009 Initial commit. [asual]
file README.md Tue Oct 20 06:00:31 -0700 2009 Updates documentation. [asual]
file pom.xml Wed Jan 20 01:16:12 -0800 2010 Updates version. [asual]
directory src/ Thu Jan 21 12:25:18 -0800 2010 Updates version. [asual]
README.md

LESS Engine

LESS Engine provides basic access to the core LESS functionality. It's a core library that can be used for a variety of JVM based LESS applications.

Usage

The following sample demonstrates how the API can be used to parse strings and compile URL resources:

// Instantiates a new LessEngine
LessEngine engine = new LessEngine();

// Compiles a CSS string
String text = engine.compile("div { width: 1 + 1 }");

// Compiles an URL resource
String url = engine.compile(getClass().getClassLoader().getResource("META-INF/test.css"));

// Creates a new file containing the compiled content
engine.compile(new File("/Users/User/Projects/styles.less"), 
               new File("/Users/User/Projects/styles.css"));

// Destroys the engine
engine.destroy();
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server