(js) Minor cleanup

This commit is contained in:
Francis Lachapelle
2016-06-02 11:24:58 -04:00
parent 6b2ae87010
commit 6d8dc29f28
5 changed files with 2 additions and 17 deletions
@@ -64,7 +64,7 @@
' <label>' + label + '</label>',
' <input type="' + (o.inputType || 'text') + '"',
' aria-label="' + title + '"',
' ng-model="name" md-autofocus="true" required="required"/>',
' ng-model="name" md-autofocus="true" required />',
' </md-input-container>',
' </md-dialog-content>',
' <md-dialog-actions>',
@@ -50,7 +50,7 @@
compile: compile
};
function compile (tElement, tAttrs) {
function compile(tElement, tAttrs) {
// Attach a click handler in compile in order to immediately stop propagation
// (especially for ng-click) when the checkmark is disabled.
@@ -51,7 +51,6 @@
}
function render() {
console.debug(ngModelCtrl.$viewValue);
var flattenedDays = ngModelCtrl.$viewValue;
modelDays = ngModelCtrl.$viewValue;
if (tAttrs.sgToggleGridAttr) {