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

Commit

Permalink
chore(sce): remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
chirayuk committed Sep 20, 2013
1 parent 5eb1fb6 commit 3ed094d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ng/sce.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 3ed094d

Please sign in to comment.