Sha256: 57d21cc38fae77c1a2014368755da933277b62e9afc1e28791cf635204ecacd4
Contents?: true
Size: 1.03 KB
Versions: 40
Compression:
Stored size: 1.03 KB
Contents
module.exports = require("./jasmine-core/jasmine.js"); module.exports.boot = require('./jasmine-core/node_boot.js'); module.exports.files = (function() { var path = require('path'), fs = require('fs'); var rootPath = path.join(__dirname, "jasmine-core"), bootFiles = ['boot.js'], nodeBootFiles = ['node_boot.js'], cssFiles = [], jsFiles = [], jsFilesToSkip = ['jasmine.js'].concat(bootFiles, nodeBootFiles); fs.readdirSync(rootPath).forEach(function(file) { if(fs.statSync(path.join(rootPath, file)).isFile()) { switch(path.extname(file)) { case '.css': cssFiles.push(file); break; case '.js': if (jsFilesToSkip.indexOf(file) < 0) { jsFiles.push(file); } break; } } }); return { path: rootPath, bootDir: rootPath, bootFiles: bootFiles, nodeBootFiles: nodeBootFiles, cssFiles: cssFiles, jsFiles: ['jasmine.js'].concat(jsFiles), imagesDir: path.join(__dirname, '../images') }; }());
Version data entries
40 entries across 40 versions & 2 rubygems