diff options
| author | Igor Minar | 2010-11-18 16:53:11 -0800 |
|---|---|---|
| committer | Igor Minar | 2010-11-18 16:53:11 -0800 |
| commit | 7ee102eecf927c5a481c6d16b5ff08bfe9563bdc (patch) | |
| tree | 6bc12f7238c2606970aa8d53f003084d1ed03ec4 /docs/docs.js | |
| parent | fc7f11d03b4380866033c38eb7649cdc5be93d9a (diff) | |
| download | angular.js-7ee102eecf927c5a481c6d16b5ff08bfe9563bdc.tar.bz2 | |
add a feedback link to the doc pages
Diffstat (limited to 'docs/docs.js')
| -rw-r--r-- | docs/docs.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/docs.js b/docs/docs.js index 8c836049..a475b7b6 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -34,6 +34,12 @@ function DocsController($location, $browser, $window) { $window.scroll(0,0); SyntaxHighlighter.highlight(); }; + + this.getFeedbackUrl = function() { + return "mailto:angular@googlegroups.com?" + + "subject=" + escape("Feedback on " + $location.href) + "&" + + "body=" + escape("Hi there,\n\nI read " + $location.href + " and wanted to ask ...."); + } } |
