From 9ba6b13c3748171b548795e1fc7969d243511b2e Mon Sep 17 00:00:00 2001 From: Chris Keathley Date: Tue, 6 May 2014 11:21:23 -0400 Subject: [PATCH] Annotate directive to avoid issues with minification --- markdown.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/markdown.js b/markdown.js index 08f2248..6f50526 100644 --- a/markdown.js +++ b/markdown.js @@ -18,7 +18,8 @@ angular.module('btford.markdown', ['ngSanitize']). } }; }). - directive('btfMarkdown', function ($sanitize, markdownConverter) { + directive('btfMarkdown', ['$sanitize', 'markdownConverter', + function ($sanitize, markdownConverter) { return { restrict: 'AE', link: function (scope, element, attrs) { @@ -33,4 +34,4 @@ angular.module('btford.markdown', ['ngSanitize']). } } }; - }); + }]);