Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
19
my-app/node_modules/less/test/plugins/filemanager/index.js
generated
vendored
Executable file
19
my-app/node_modules/less/test/plugins/filemanager/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
(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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue