mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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 {
|
||||
throw $sceMinErr('isecrurl',
|
||||
'Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}', maybeTrusted.toString());
|
||||
return;
|
||||
}
|
||||
} else if (type === SCE_CONTEXTS.HTML) {
|
||||
return htmlSanitizer(maybeTrusted);
|
||||
|
|
|
|||
Loading…
Reference in a new issue