Sha256: 6b0cc2ffc0fb979c78d720e7ee171c1eb8234b539cfe17b55a47c1dcc3ac9f2f

Contents?: true

Size: 845 Bytes

Versions: 5

Compression:

Stored size: 845 Bytes

Contents

(function(exports) {
    var plugin = function(less) {
        var FileManager = less.FileManager, TestFileManager = new FileManager();
        function TestFileManager() { };
        TestFileManager.loadFile = function (filename, currentDirectory, options, environment, callback) {
            if (filename.match(/.*\.test$/)) {
                return less.environment.fileManagers[0].loadFile("colors.test", currentDirectory, options, environment, callback);
            }
            return less.environment.fileManagers[0].loadFile(filename, currentDirectory, options, environment, callback);
        };

        return TestFileManager;
    };

    exports.install = function(less, pluginManager) {
        less.environment.addFileManager(new plugin(less));
    };

})(typeof exports === 'undefined' ? this['AddFilePlugin'] = {} : exports);

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
ilog-0.4.1 node_modules/less/test/plugins/filemanager/index.js
ilog-0.4.0 node_modules/less/test/plugins/filemanager/index.js
ilog-0.3.3 node_modules/less/test/plugins/filemanager/index.js
less-execjs-2.6.0.4 lib/less/js/less/test/plugins/filemanager/index.js
less-execjs-2.6.0.3 lib/less/js/less/test/plugins/filemanager/index.js