Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
docs(mdPanel): fix formatting of mdPanel docs (#9562)
Browse files Browse the repository at this point in the history
* Use constant-width formatting for the position guides.
* Fix invalid quotation mark (‘’ -> '').
* Fix escaped & problem (&) by changing syntax.
* Remove unused variable.
  • Loading branch information
zbjornson authored and jelbourn committed Sep 12, 2016
1 parent 19ccc90 commit 7cdd32a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/components/panel/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ angular
* @usage
* <hljs lang="js">
* (function(angular, undefined) {
* use strict;
* 'use strict';
*
* angular
* .module('demoApp', ['ngMaterial'])
Expand Down Expand Up @@ -64,11 +64,9 @@ angular
* });
* }
*
* function DialogController(MdPanelRef, toppings) {
* var toppings;
*
* function DialogController(MdPanelRef) {
* function closeDialog() {
* MdPanelRef && MdPanelRef.close();
* if (MdPanelRef) MdPanelRef.close();
* }
* }
* })(angular);
Expand Down Expand Up @@ -528,8 +526,10 @@ angular
* xPosition must be one of the following values available on
* $mdPanel.xPosition:
*
*
* CENTER | ALIGN_START | ALIGN_END | OFFSET_START | OFFSET_END
*
* <pre>
* *************
* * *
* * PANEL *
Expand All @@ -542,12 +542,14 @@ angular
* C: CENTER
* D: ALIGN_END (for LTR displays)
* E: OFFSET_END (for LTR displays)
* </pre>
*
* yPosition must be one of the following values available on
* $mdPanel.yPosition:
*
* CENTER | ALIGN_TOPS | ALIGN_BOTTOMS | ABOVE | BELOW
*
* <pre>
* F
* G *************
* * *
Expand All @@ -561,6 +563,7 @@ angular
* H: CENTER
* I: ALIGN_BOTTOMS
* J: ABOVE
* </pre>
*
* @param {string} xPosition
* @param {string} yPosition
Expand Down

0 comments on commit 7cdd32a

Please sign in to comment.