@@ -26,7 +26,7 @@ angular
26
26
* @usage
27
27
* <hljs lang="js">
28
28
* (function(angular, undefined) {
29
- * ‘ use strict’ ;
29
+ * ' use strict' ;
30
30
*
31
31
* angular
32
32
* .module('demoApp', ['ngMaterial'])
@@ -64,11 +64,9 @@ angular
64
64
* });
65
65
* }
66
66
*
67
- * function DialogController(MdPanelRef, toppings) {
68
- * var toppings;
69
- *
67
+ * function DialogController(MdPanelRef) {
70
68
* function closeDialog() {
71
- * MdPanelRef && MdPanelRef.close();
69
+ * if (MdPanelRef) MdPanelRef.close();
72
70
* }
73
71
* }
74
72
* })(angular);
@@ -526,11 +524,11 @@ angular
526
524
* chosen; the last position will be chose whether it is on-screen or not.
527
525
*
528
526
* xPosition must be one of the following values available on
529
- * $mdPanel.xPosition:
527
+ * $mdPanel.xPosition:
530
528
*
531
529
*
532
530
* CENTER | ALIGN_START | ALIGN_END | OFFSET_START | OFFSET_END
533
- *
531
+ *
534
532
* <pre>
535
533
* *************
536
534
* * *
@@ -543,14 +541,14 @@ angular
543
541
* B: ALIGN_START (for LTR displays)
544
542
* C: CENTER
545
543
* D: ALIGN_END (for LTR displays)
546
- * E: OFFSET_END (for LTR displays)
544
+ * E: OFFSET_END (for LTR displays)
547
545
* </pre>
548
546
*
549
547
* yPosition must be one of the following values available on
550
548
* $mdPanel.yPosition:
551
549
*
552
550
* CENTER | ALIGN_TOPS | ALIGN_BOTTOMS | ABOVE | BELOW
553
- *
551
+ *
554
552
* <pre>
555
553
* F
556
554
* G *************
@@ -564,7 +562,7 @@ angular
564
562
* G: ALIGN_TOPS
565
563
* H: CENTER
566
564
* I: ALIGN_BOTTOMS
567
- * J: ABOVE
565
+ * J: ABOVE
568
566
* </pre>
569
567
*
570
568
* @param {string } xPosition
0 commit comments