1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-17 11:54:22 +01:00

typo and syntax

This commit is contained in:
Sylvain 2019-06-12 16:31:45 +02:00
parent 4edab0c53a
commit 6e5cc2a4c4

View File

@ -122,15 +122,15 @@ angular.module('application', ['ngCookies', 'ngResource', 'ngSanitize', 'ui.rout
Analytics.pageView();
/**
* This helper method builds and return an array contaning every integers between
* This helper method builds and return an array containing every integers between
* the provided start and end.
* @param start {number}
* @param end {number}
* @return {Array} [start .. end]
*/
$rootScope.intArray = function (start, end) {
var arr = [];
for (var i = start; i < end; i++) { arr.push(i); }
const arr = [];
for (let i = start; i < end; i++) { arr.push(i); }
return arr;
};
}]).constant('angularMomentConfig', {