karma-sourcemap-loader
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -43,3 +43,8 @@ var fs = require('fs'); | ||
var lastLine = content.split(new RegExp(require('os').EOL)).pop(); | ||
var lines = content.split(new RegExp(require('os').EOL)); | ||
var lastLine = lines.pop(); | ||
while (new RegExp("^\\s*$").test(lastLine)) { | ||
lastLine = lines.pop(); | ||
} | ||
var match = lastLine.match(/^\/\/#\s*sourceMappingURL=(.+)$/); | ||
@@ -46,0 +51,0 @@ var mapUrl = match && match[1]; |
{ | ||
"name": "karma-sourcemap-loader", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Karma plugin that locates and loads existing javascript source map files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20347
13
57