client/annotviz/gulp/util/scriptFilter.js
author rougeronj
Thu, 16 Apr 2015 12:15:33 +0200
changeset 153 60bd2b36b9dc
parent 85 eff9460bd4f2
permissions -rw-r--r--
put showTime as an option and add it to static pianoroll template on server

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));
};