diff options
| author | Chirayu Krishnappa | 2013-09-20 15:41:57 -0700 |
|---|---|---|
| committer | Chirayu Krishnappa | 2013-09-20 15:41:57 -0700 |
| commit | 3ed094d14259f6bb1eb8c7614e988b770c002613 (patch) | |
| tree | 060dec57271d6b5a0740f2edf0465a8c13dc5a02 /src/ng/sce.js | |
| parent | 5eb1fb6cb2c5a1c036e50ea791fd74ddf9016be0 (diff) | |
| download | angular.js-3ed094d14259f6bb1eb8c7614e988b770c002613.tar.bz2 | |
chore(sce): remove unused function
Diffstat (limited to 'src/ng/sce.js')
| -rw-r--r-- | src/ng/sce.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js index 60356097..ca54b58f 100644 --- a/src/ng/sce.js +++ b/src/ng/sce.js @@ -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) { |
