Commit 7535677e by Torkel Ödegaard

fix(build): fixed failing tslint test

parent 812e4c7c
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
import angular = require('angular'); import angular = require('angular');
import _ = require('lodash'); import _ = require('lodash');
export function ArrayJoin() export function ArrayJoin() {
{ 'use strict';
return { return {
restrict: 'A', restrict: 'A',
require: 'ngModel', require: 'ngModel',
...@@ -15,7 +16,7 @@ export function ArrayJoin() ...@@ -15,7 +16,7 @@ export function ArrayJoin()
} }
function join_array(text) { function join_array(text) {
if(_.isArray(text)) { if (_.isArray(text)) {
return (text || '').join(','); return (text || '').join(',');
} else { } else {
return text; 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