Sha256: d27259b47d93496e3c779cbcac6fc4e4b3827481fc6e0c53c875cce1b15405bd

Contents?: true

Size: 196 Bytes

Versions: 2

Compression:

Stored size: 196 Bytes

Contents

module.exports = {
	registerCustomFunctions: function (less, functionRegistry) {
		functionRegistry.add('double', function(value) {
			return new less.tree.Dimension(value.value * 2);
		});
	}
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
less-execjs-2.6.0.4 spec/support/custom_functions/custom_functions.js
less-execjs-2.6.0.3 spec/support/custom_functions/custom_functions.js