Sha256: 72f0f2ed14f6642c52b83b60b325787c336dd9709ad3afe73fdb234c1a7f5a24

Contents?: true

Size: 500 Bytes

Versions: 10

Compression:

Stored size: 500 Bytes

Contents

var requirejsPath, createPattern;

createPattern = function(path) {
  return {pattern: path, included: true, served: true, watched: false};
};

requirejsPath = require('path').dirname(require.resolve('requirejs')) + '/../require.js';

var initRequireJs = function(files) {
  files.unshift(createPattern(__dirname + '/adapter.js'));
  files.unshift(createPattern(requirejsPath));
};

initRequireJs.$inject = ['config.files'];

module.exports = {
  'framework:requirejs': ['factory', initRequireJs]
};

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hooch-0.4.2 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.4.1 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.4.0 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.3.0 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.2.1 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.2.0 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.1.0 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.0.8 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.0.7 jasmine/node_modules/karma-requirejs/lib/index.js
hooch-0.0.6 jasmine/node_modules/karma-requirejs/lib/index.js