summaryrefslogtreecommitdiff
path: root/templates/project/widgets/list/list.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'templates/project/widgets/list/list.coffee')
-rw-r--r--templates/project/widgets/list/list.coffee15
1 files changed, 4 insertions, 11 deletions
diff --git a/templates/project/widgets/list/list.coffee b/templates/project/widgets/list/list.coffee
index 3ca892b..3cbf7a1 100644
--- a/templates/project/widgets/list/list.coffee
+++ b/templates/project/widgets/list/list.coffee
@@ -1,13 +1,6 @@
class Dashing.List extends Dashing.Widget
- @accessor 'current', Dashing.AnimatedValue
-
- @accessor 'arrow', ->
- if @get('last')
- if parseInt(@get('current')) > parseInt(@get('last')) then 'arrow-up' else 'arrow-down'
-
ready: ->
- Batman.setImmediate =>
- if @get('unordered')
- $(@node).find('ol').remove()
- else
- $(@node).find('ul').remove() \ No newline at end of file
+ if @get('unordered')
+ $(@node).find('ol').remove()
+ else
+ $(@node).find('ul').remove() \ No newline at end of file