mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(sce): remove unused function
This commit is contained in:
parent
5eb1fb6cb2
commit
3ed094d142
1 changed files with 0 additions and 6 deletions
|
|
@ -131,12 +131,6 @@ function $SceDelegateProvider() {
|
|||
return resourceUrlBlacklist;
|
||||
};
|
||||
|
||||
// Helper functions for matching resource urls by policy.
|
||||
function isCompatibleProtocol(documentProtocol, resourceProtocol) {
|
||||
return ((documentProtocol === resourceProtocol) ||
|
||||
(documentProtocol === "http:" && resourceProtocol === "https:"));
|
||||
}
|
||||
|
||||
this.$get = ['$log', '$document', '$injector', '$$urlUtils', function(
|
||||
$log, $document, $injector, $$urlUtils) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue