summaryrefslogtreecommitdiff
path: root/widgets/github_pr/github_pr.coffee
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-07-13 20:07:09 +0200
committerVarac <varac@leap.se>2017-10-16 13:20:14 +0200
commit11d443664b7a785b42cbbd5b96347bafa5ad273a (patch)
tree9a27d4c1fe58e3375ae1868cf7a29da1af106265 /widgets/github_pr/github_pr.coffee
parentfa7cf47e28a4ac1636e947c269ed83abe49a1491 (diff)
initial commit, import from pixelated_dashboard
Diffstat (limited to 'widgets/github_pr/github_pr.coffee')
-rw-r--r--widgets/github_pr/github_pr.coffee6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/github_pr/github_pr.coffee b/widgets/github_pr/github_pr.coffee
new file mode 100644
index 0000000..43f4fc4
--- /dev/null
+++ b/widgets/github_pr/github_pr.coffee
@@ -0,0 +1,6 @@
+class Dashing.Github_pr extends Dashing.Widget
+ ready: ->
+ if @get('unordered')
+ $(@node).find('ol').remove()
+ else
+ $(@node).find('ul').remove()