Blame view

node_modules/less/test/less-bom/plugin/plugin-collection.js 212 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
  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);
  });