mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 11:11:05 +00:00
style($sce): remove unreachable return statement
This commit is contained in:
parent
bdd4e982b7
commit
14b1297b51
1 changed files with 0 additions and 1 deletions
|
|
@ -303,7 +303,6 @@ function $SceDelegateProvider() {
|
||||||
} else {
|
} else {
|
||||||
throw $sceMinErr('isecrurl',
|
throw $sceMinErr('isecrurl',
|
||||||
'Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}', maybeTrusted.toString());
|
'Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}', maybeTrusted.toString());
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
} else if (type === SCE_CONTEXTS.HTML) {
|
} else if (type === SCE_CONTEXTS.HTML) {
|
||||||
return htmlSanitizer(maybeTrusted);
|
return htmlSanitizer(maybeTrusted);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue