mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
18 lines
588 B
JavaScript
18 lines
588 B
JavaScript
(function (root, registerPlugin) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
define([], registerPlugin);
|
|
} else if (typeof module === 'object' && module.exports) {
|
|
module.exports = registerPlugin();
|
|
} else {
|
|
if (!root.less) { root.less = {}; }
|
|
if (!root.less.plugins) { root.less.plugins = []; }
|
|
root.less.plugins.push(registerPlugin());
|
|
}
|
|
}(this, function () {
|
|
// Less.js Plugin object
|
|
return {
|
|
install: function(less, pluginManager, functions) {
|
|
// functions.add('')
|
|
}
|
|
};
|
|
})); |