client/annotviz/gulp/util/scriptFilter.js
author rougeronj
Thu, 16 Apr 2015 11:08:05 +0200
changeset 150 c8fe9606d967
parent 85 eff9460bd4f2
permissions -rw-r--r--
add temporary timeCode on doubleroll and copy change to 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));
};