Sha256: 141f6392fc153e123de5e478e7b55983b97ce1450c84e844e65b640de78658b2
Contents?: true
Size: 334 Bytes
Versions: 34
Compression:
Stored size: 334 Bytes
Contents
'use strict'; const glob = require('glob'); const path = require('path'); const all = {}; glob.sync('./resources/js/*.js').forEach(function(file) { const obj = require(path.resolve(file)); const name = path.basename(file, '.js'); if (0 === name.indexOf('iso_')) { all[name] = obj; } }); module.exports = exports = all;
Version data entries
34 entries across 34 versions & 1 rubygems