generated from Seekra/repository-template
style: ensure named functions
This commit is contained in:
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
export const ensureUnit = function(d) {
|
||||
export const ensureUnit = function ensureUnit(d) {
|
||||
if (!d) d = 0;
|
||||
|
||||
// ensure that it is a string
|
||||
|
||||
Reference in New Issue
Block a user