Sha256: 9594317ee0978ecd63b39aaacac217c22a2ec3f1411416ecf86492a8c1633ea4
Contents?: true
Size: 962 Bytes
Versions: 137
Compression:
Stored size: 962 Bytes
Contents
module.exports = require("./jasmine-core/jasmine.js"); module.exports.boot = require('./jasmine-core/node_boot.js'); 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; } } }); module.exports.files = { path: rootPath, bootDir: rootPath, bootFiles: bootFiles, nodeBootFiles: nodeBootFiles, cssFiles: cssFiles, jsFiles: ['jasmine.js'].concat(jsFiles), imagesDir: path.join(__dirname, '../images') };
Version data entries
137 entries across 121 versions & 6 rubygems