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

Commit

Permalink
feat(datepicker): floating calendar panel for date picker.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn committed Aug 13, 2015
1 parent 406ffe6 commit a324e66
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
// TODO(jelbourn): make aria-live element visibly hidden (but still present on the page).

function calendarDirective() {
// Generate a unique ID for each instance of the directive.
var directiveId = 0;

return {
template:
'<div>' +
Expand All @@ -51,7 +48,6 @@
link: function(scope, element, attrs, controllers) {
var ngModelCtrl = controllers[0];
var mdCalendarCtrl = controllers[1];
mdCalendarCtrl.directiveId = directiveId++;
mdCalendarCtrl.configureNgModel(ngModelCtrl);
}
};
Expand Down Expand Up @@ -312,7 +308,6 @@
this.focusDateElement(this.selectedDate);
};


/*** Animation ***/

/**
Expand Down

0 comments on commit a324e66

Please sign in to comment.