Commit 7535677e by Torkel Ödegaard

fix(build): fixed failing tslint test

parent 812e4c7c
......@@ -3,8 +3,9 @@
import angular = require('angular');
import _ = require('lodash');
export function ArrayJoin()
{
export function ArrayJoin() {
'use strict';
return {
restrict: 'A',
require: 'ngModel',
......@@ -15,7 +16,7 @@ export function ArrayJoin()
}
function join_array(text) {
if(_.isArray(text)) {
if (_.isArray(text)) {
return (text || '').join(',');
} else {
return text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment