Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
20
my-app/node_modules/karma-source-map-support/lib/index.js
generated
vendored
Executable file
20
my-app/node_modules/karma-source-map-support/lib/index.js
generated
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
const path = require('path');
|
||||
|
||||
const smsPath = path.dirname(require.resolve('source-map-support'));
|
||||
|
||||
const createPattern = function(pattern) {
|
||||
return {pattern: pattern, included: true, served: true, watched: false};
|
||||
};
|
||||
|
||||
const init = function(files) {
|
||||
files.unshift(createPattern(path.join(__dirname, 'client.js')));
|
||||
files.unshift(
|
||||
createPattern(path.join(smsPath, 'browser-source-map-support.js'))
|
||||
);
|
||||
};
|
||||
|
||||
init.$inject = ['config.files'];
|
||||
|
||||
module.exports = {
|
||||
'framework:source-map-support': ['factory', init]
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue