CF.selectGroup = function (list, listIndex, join) {
CF.listContents(list, listIndex, 0, function (items) {
console.dir(items);
});
};
var grListJoins = grList.map(function (group) { return 'l20250:' + grList.indexOf(group) + ':d20250'; }); CF.watch(CF.ObjectPressedEvent, grListJoins, function (join, value, tokens) { var list = tokens["[list_join]"]; var listIndex = tokens["[item_index]"]; CF.listContents(list, listIndex, 0, function (items) { console.dir(items); }); });
I've seen a few posts about people wanting to use Browserify for managing JS dependencies for CommandFusion. I've done this on a few projects and found it to be really handy. I've created an example CF project using Gulp and Browserify. It includes a build and watch tasks for easy development. Check it out and let me know what you think! Feel free to file issues on GitHub for bugs or feature requests. Thanks!