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

Commit a324e66

Browse files
committed
feat(datepicker): floating calendar panel for date picker.
1 parent 406ffe6 commit a324e66

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/components/calendar/calendar.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
// TODO(jelbourn): make aria-live element visibly hidden (but still present on the page).
3131

3232
function calendarDirective() {
33-
// Generate a unique ID for each instance of the directive.
34-
var directiveId = 0;
35-
3633
return {
3734
template:
3835
'<div>' +
@@ -51,7 +48,6 @@
5148
link: function(scope, element, attrs, controllers) {
5249
var ngModelCtrl = controllers[0];
5350
var mdCalendarCtrl = controllers[1];
54-
mdCalendarCtrl.directiveId = directiveId++;
5551
mdCalendarCtrl.configureNgModel(ngModelCtrl);
5652
}
5753
};
@@ -312,7 +308,6 @@
312308
this.focusDateElement(this.selectedDate);
313309
};
314310

315-
316311
/*** Animation ***/
317312

318313
/**

0 commit comments

Comments
 (0)