diff options
| author | Caitlin Potter | 2014-02-06 14:02:18 +0000 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:40 +0000 | 
| commit | f7d28cd377f06224247b950680517a187a7b6749 (patch) | |
| tree | 20203b9f7bf60748bb752f325b1869415352a6f3 /src/ng/exceptionHandler.js | |
| parent | 2e641ac49f121a6e2cc70bd3879930b44a8a7710 (diff) | |
| download | angular.js-f7d28cd377f06224247b950680517a187a7b6749.tar.bz2 | |
docs(all): convert <pre>/</pre> snippets to GFM snippets
Diffstat (limited to 'src/ng/exceptionHandler.js')
| -rw-r--r-- | src/ng/exceptionHandler.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/ng/exceptionHandler.js b/src/ng/exceptionHandler.js index 13f775ef..c2c77f64 100644 --- a/src/ng/exceptionHandler.js +++ b/src/ng/exceptionHandler.js @@ -15,14 +15,14 @@   *   * ## Example:   *  - * <pre> + * ```js   *   angular.module('exceptionOverride', []).factory('$exceptionHandler', function () {   *     return function (exception, cause) {   *       exception.message += ' (caused by "' + cause + '")';   *       throw exception;   *     };   *   }); - * </pre> + * ```   *    * This example will override the normal action of `$exceptionHandler`, to make angular   * exceptions fail hard when they happen, instead of just logging to the console. | 
