Cleaned up repository and removed errors

This commit is contained in:
Caesar2011
2017-05-17 22:37:56 +02:00
parent 2085314a9b
commit 05e0c1ff3d
14 changed files with 844 additions and 92 deletions

View File

@@ -3,7 +3,7 @@ var stylesRegex = /styleUrls *:(\s*\[[^\]]*?\])/g;
var stringRegex = /(['`"])((?:[^\\]\\\1|.)*?)\1/g;
module.exports.translate = function(load){
if (load.source.indexOf('moduleId') != -1) return load;
if (load.source.indexOf('moduleId') !== -1) return load;
var url = document.createElement('a');
url.href = load.address;