client/annotviz/gulp/util/scriptFilter.js
author rougeronj
Sat, 18 Apr 2015 09:37:57 +0200
changeset 167 2b99fed0285e
parent 85 eff9460bd4f2
permissions -rw-r--r--
Update for 'Atelier 3 jour 3' and clean gulpfile

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