Permalink
Browse files

Update example/template.coffee

  • Loading branch information...
1 parent 8a95a15 commit 86d29cac561f8d68ad6c7e335416870a99d843a0 @joelvh committed Jan 5, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 example/template.coffee
View
@@ -1,9 +1,8 @@
-
tmpl =
path: '.'
aggregate:
- total: (key, value, existing) -> if !sysmo.isArray(value) then value else value.sort().reverse()[0]
- pages: (key, value, existing) -> if !sysmo.isArray(value) then value else value.sort().reverse()[0]
+ total: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0]
+ pages: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0]
as:
bins:
path: 'Items.SearchBinSets.SearchBinSet.Bin'

0 comments on commit 86d29ca

Please sign in to comment.