client/annotviz/gulp/util/scriptFilter.js
author rougeronj
Mon, 13 Apr 2015 17:11:47 +0200
changeset 146 192d7d7f7bb4
parent 85 eff9460bd4f2
permissions -rw-r--r--
Add dynamicRange option. Adapt rescaleScene to be able to increase the scale (new note is added) or decrease the scale (a note is deleted).

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