Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3ed094d

Browse files
committed
chore(sce): remove unused function
1 parent 5eb1fb6 commit 3ed094d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/ng/sce.js

-6
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ function $SceDelegateProvider() {
131131
return resourceUrlBlacklist;
132132
};
133133

134-
// Helper functions for matching resource urls by policy.
135-
function isCompatibleProtocol(documentProtocol, resourceProtocol) {
136-
return ((documentProtocol === resourceProtocol) ||
137-
(documentProtocol === "http:" && resourceProtocol === "https:"));
138-
}
139-
140134
this.$get = ['$log', '$document', '$injector', '$$urlUtils', function(
141135
$log, $document, $injector, $$urlUtils) {
142136

0 commit comments

Comments
 (0)