fix code style

includes tabs to spaces as well as file endings
pull/2817/head
Florian Kraft 10 years ago
parent 806b6777fb
commit 622567cbda
  1. 2
      frontend/app/config/configuration-service.js
  2. 4
      frontend/app/templates/components/inplace_editor/date/date_range_picker.html
  3. 12
      frontend/app/ui_components/date/date-range-picker-directive.js
  4. 4
      frontend/public/templates/components/inplace_editor/date/date_range_picker.html

@ -97,4 +97,4 @@ module.exports = function() {
return this.settings.display.start_of_week;
}
};
};
};

@ -1,3 +1,3 @@
<div class="date-range-picker">
<input type="text" class="start" /><span>-</span><input type="text" class="end" />
</div>
<input type="text" class="start" /><span>-</span><input type="text" class="end" />
</div>

@ -26,7 +26,7 @@
// See doc/COPYRIGHT.rdoc for more details.
//++
module.exports = function(TimezoneService, ConfigurationService,
module.exports = function(TimezoneService, ConfigurationService,
I18n, $timeout) {
var parseDate = TimezoneService.parseDate,
formattedDate = function(date) {
@ -38,8 +38,8 @@ module.exports = function(TimezoneService, ConfigurationService,
return {
restrict: 'EA',
replace: true,
scope: {
'startDate': '=',
scope: {
'startDate': '=',
'endDate': '='
},
templateUrl: '/templates/components/inplace_editor/date/date_range_picker.html',
@ -91,7 +91,7 @@ module.exports = function(TimezoneService, ConfigurationService,
scope.startDate = null;
});
inputStart.val('');
$timeout.cancel(startTimerId);
$timeout.cancel(startTimerId);
return;
}
$timeout.cancel(startTimerId);
@ -111,7 +111,7 @@ module.exports = function(TimezoneService, ConfigurationService,
scope.endDate = null;
});
inputEnd.val('');
$timeout.cancel(endTimerId);
$timeout.cancel(endTimerId);
return;
}
$timeout.cancel(startTimerId);
@ -223,4 +223,4 @@ module.exports = function(TimezoneService, ConfigurationService,
});
}
};
};
};

@ -1,3 +1,3 @@
<div class="date-range-picker">
<input ng-model="editableStartDate" type="text" class="start" /><span>-</span><input ng-model="editableEndDate" type="text" class="end" />
</div>
<input ng-model="editableStartDate" type="text" class="start" /><span>-</span><input ng-model="editableEndDate" type="text" class="end" />
</div>

Loading…
Cancel
Save