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

Version Path
optimacms-0.1.61 spec/dummy/node_modules/bootstrap-tagsinput/lib/jasmine/lib/jasmine-core.js
upjs-rails-0.11.0 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.10.5 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.10.4 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.10.3 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.10.2 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.10.1 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.10.0 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.9.1 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.9.0 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.8.2 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.8.1 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.8.0 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.8 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.7 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.6 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.5 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.4 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.3 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js
upjs-rails-0.7.2 spec_app/vendor/assets/bower_components/jasmine/lib/jasmine-core.js