From f7d28cd377f06224247b950680517a187a7b6749 Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Thu, 6 Feb 2014 14:02:18 +0000 Subject: docs(all): convert
/
snippets to GFM snippets --- src/ng/animate.js | 4 ++-- src/ng/cacheFactory.js | 20 ++++++++++---------- src/ng/compile.js | 28 ++++++++++++++-------------- src/ng/directive/booleanAttrs.js | 28 ++++++++++++++-------------- src/ng/directive/input.js | 4 ++-- src/ng/directive/ngCloak.js | 4 ++-- src/ng/directive/ngCsp.js | 4 ++-- src/ng/directive/ngPluralize.js | 8 ++++---- src/ng/directive/ngRepeat.js | 8 ++++---- src/ng/directive/ngShowHide.js | 24 ++++++++++++------------ src/ng/exceptionHandler.js | 4 ++-- src/ng/filter.js | 8 ++++---- src/ng/http.js | 24 ++++++++++++------------ src/ng/interpolate.js | 4 ++-- src/ng/parse.js | 4 ++-- src/ng/q.js | 16 ++++++++-------- src/ng/rootScope.js | 28 ++++++++++++++-------------- 17 files changed, 110 insertions(+), 110 deletions(-) (limited to 'src/ng') diff --git a/src/ng/animate.js b/src/ng/animate.js index 11a287e6..55eb0a3f 100644 --- a/src/ng/animate.js +++ b/src/ng/animate.js @@ -36,7 +36,7 @@ var $AnimateProvider = ['$provide', function($provide) { * triggered. * * - *
+   * ```js
    *   return {
      *     eventFn : function(element, done) {
      *       //code to run the animation
@@ -46,7 +46,7 @@ var $AnimateProvider = ['$provide', function($provide) {
      *       }
      *     }
      *   }
-   *
+ * ``` * * @param {string} name The name of the animation. * @param {function} factory The factory function that will be executed to return the animation diff --git a/src/ng/cacheFactory.js b/src/ng/cacheFactory.js index 32d179b4..9371ca58 100644 --- a/src/ng/cacheFactory.js +++ b/src/ng/cacheFactory.js @@ -7,7 +7,7 @@ * @description * Factory that constructs cache objects and gives access to them. * - *
+ * ```js
  * 
  *  var cache = $cacheFactory('cacheId');
  *  expect($cacheFactory.get('cacheId')).toBe(cache);
@@ -19,7 +19,7 @@
  *  // We've specified no options on creation
  *  expect(cache.info()).toEqual({id: 'cacheId', size: 2}); 
  * 
- * 
+ * ``` * * * @param {string} cacheId Name or id of the newly created cache. @@ -201,7 +201,7 @@ function $CacheFactoryProvider() { * `$templateCache` service directly. * * Adding via the `script` tag: - *
+ * ```html
  * 
  * 
  *