Refactoring : tabulation with 4 spaces

This commit is contained in:
Marc Ducobu 2016-03-24 09:47:14 +01:00
parent 332ee277d3
commit e6a47ddcbc

View File

@ -1,6 +1,6 @@
/* jslint vars: true */
/*jslint indent: 3 */
/* global moment, $ */
/*jslint indent: 4 */
/* global moment, $, window */
'use strict';
var chill = function() {
@ -107,7 +107,8 @@ var chill = function() {
})
.on('reset', function() {
unsaved_data = false;
});
})
;
$.each($(form_id).find(':input'), function(i,e) {
$(e).change(function() {
@ -122,9 +123,11 @@ var chill = function() {
});
}
/**
* TODO : DOC
*/
function checkNullValuesInChoices(choice_name) {
var choices;
console.log(choice_name);
choices = $("input[name='"+choice_name+"']:checked");
if (choices.size() === 0) {
$.each($("input[name='"+choice_name+"']"), function (i, e) {
@ -133,8 +136,6 @@ var chill = function() {
}
});
}
//}
//});
}
/**