lib/less-node/plugin-loader.js
function(less) {
    this.less = less;
    this.require = function(prefix) {
        prefix = path.dirname(prefix);
        return function(id) {
            var str = id.substr(0, 2);
            if (str === '..' || str === './') {
                return require(path.join(prefix, id));
            }
            else {
                return require(id);
            }
        };
    };
}
function(less) {
    this.less = less;
    this.require = function(prefix) {
        prefix = path.dirname(prefix);
        return function(id) {
            var str = id.substr(0, 2);
            if (str === '..' || str === './') {
                return require(path.join(prefix, id));
            }
            else {
                return require(id);
            }
        };
    };
}
function ( less ) { this . less = less ; this . require = function ( prefix ) { prefix = path . dirname ( prefix ) ; return function ( id ) { var str = id . substr ( 0 , 2 ) ; if ( str === '..' || str === './' ) { return require ( path . join ( prefix , id ) ) ; } else { return require ( id ) ; } } ; } ; }
Node Plugin Loader
Node Plugin Loader