Improved displayName().
This commit is contained in:
parent
8a76d83a3e
commit
2e4e6225a1
2 changed files with 3 additions and 2 deletions
|
@ -40,6 +40,7 @@ class App extends Spine.Controller
|
||||||
|
|
||||||
# define print name helper
|
# define print name helper
|
||||||
params.P = ( item ) ->
|
params.P = ( item ) ->
|
||||||
|
return item if !item
|
||||||
if typeof item is 'object'
|
if typeof item is 'object'
|
||||||
if item.displayNameLong
|
if item.displayNameLong
|
||||||
item.displayNameLong()
|
item.displayNameLong()
|
||||||
|
|
Loading…
Reference in a new issue