Created
December 5, 2014 04:24
-
-
Save mchambaud/ba67b0a6dfdb99e378b2 to your computer and use it in GitHub Desktop.
Angular-translate-handler-log using raygun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('pascalprecht.translate') | |
.factory('$translateMissingTranslationHandlerLogRaygun', function ($window) { | |
return function (translationId) { | |
$window.Raygun.send('Missing Translation', {translationKey: translationId}); | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment