Updated the files.

This commit is contained in:
Batuhan Berk Başoğlu 2024-02-08 19:38:41 -05:00
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
View 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);

14
my-app/node_modules/less/test/plugins/postprocess/index.js generated vendored Executable file
View file

@ -0,0 +1,14 @@
(function(exports) {
var postProcessor = function() {};
postProcessor.prototype = {
process: function (css) {
return 'hr {height:50px;}\n' + css;
}
};
exports.install = function(less, pluginManager) {
pluginManager.addPostProcessor( new postProcessor());
};
})(typeof exports === 'undefined' ? this['postProcessorPlugin'] = {} : exports);

19
my-app/node_modules/less/test/plugins/preprocess/index.js generated vendored Executable file
View file

@ -0,0 +1,19 @@
(function(exports) {
var preProcessor = function() {};
preProcessor.prototype = {
process : function (src, extra) {
var injected = '@color: red;\n';
var ignored = extra.imports.contentsIgnoredChars;
var fileInfo = extra.fileInfo;
ignored[fileInfo.filename] = ignored[fileInfo.filename] || 0;
ignored[fileInfo.filename] += injected.length;
return injected + src;
}
};
exports.install = function(less, pluginManager) {
pluginManager.addPreProcessor( new preProcessor() );
};
})(typeof exports === 'undefined' ? this['preProcessorPlugin'] = {} : exports);

24
my-app/node_modules/less/test/plugins/visitor/index.js generated vendored Executable file
View file

@ -0,0 +1,24 @@
(function(exports) {
var RemoveProperty = function(less) {
this._visitor = new less.visitors.Visitor(this);
};
RemoveProperty.prototype = {
isReplacing: true,
run: function (root) {
return this._visitor.visit(root);
},
visitDeclaration: function (ruleNode, visitArgs) {
if (ruleNode.name != '-some-aribitrary-property') {
return ruleNode;
} else {
return [];
}
}
};
exports.install = function(less, pluginManager) {
pluginManager.addVisitor( new RemoveProperty(less));
};
})(typeof exports === 'undefined' ? this['VisitorPlugin'] = {} : exports);