All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.env.js Maven / Gradle / Ivy

Go to download

A Java wrapper for LESS (http://lesscss.org). LESS extends CSS with: variables, mixins, operations and nested rules.

The newest version!
var lessenv = {
	print : print,
	quit : quit,
	readFile : readFile,
	readUrl : readUrl,
	sourceMapGenerator : require("source-map/source-map-generator").SourceMapGenerator,
	writeSourceMap : function(sourceMap) {
		var url = lessenv.sourceMapURL;
		if (url !== null) {
			var writer = new java.io.FileWriter(url);
			try {
				writer.write(sourceMap);
			} finally {
				writer.close();
			}
		}
	}
}, arguments = [ '' ], exports = {}, location = {
	port : 0
}, document = {
	getElementsByTagName : function(name) {
		return [];
	}
}, window = {};

print = function() {};
quit = function() {
};
readFile = function() {
	return '';
};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy