W72crm_web-master/node_modules/less/test/less-bom/plugin/plugin-collection.js

9 lines
212 B
JavaScript
Raw Normal View History

2025-05-27 11:25:53 +08:00
var collection = [];
functions.add('store', function(val) {
collection.push(val); // imma store this for later
return false;
});
functions.add('list', function() {
return less.value(collection);
});