first commit

This commit is contained in:
dhp
2026-04-23 17:03:40 +08:00
commit dfd77fe83b
1298 changed files with 163510 additions and 0 deletions

28
node_modules/less/lib/less-browser/image-size.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
import functionRegistry from './../less/functions/function-registry.js';
export default () => {
function imageSize() {
throw {
type: 'Runtime',
message: 'Image size functions are not supported in browser version of less'
};
}
const imageFunctions = {
'image-size': function(filePathNode) {
imageSize(this, filePathNode);
return -1;
},
'image-width': function(filePathNode) {
imageSize(this, filePathNode);
return -1;
},
'image-height': function(filePathNode) {
imageSize(this, filePathNode);
return -1;
}
};
functionRegistry.addMultiple(imageFunctions);
};