client/annotviz/gulp/util/scriptFilter.js
author rougeronj
Thu, 15 Jan 2015 17:59:41 +0100
changeset 89 b4bd49f01837
parent 85 eff9460bd4f2
permissions -rw-r--r--
add annotsRoll class and create it in main. Adapt main and pianoroll to allow horizontal or vertical view

var path = require('path');

// Filters out non .js files. Prevents
// accidental inclusion of possible hidden files
module.exports = function(name) {
    return /(\.(js)$)/i.test(path.extname(name));
};