Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 21:00:36 +0800
pipelines: only some tags/roles are currently idempotent
'common' uses command module for setting system locale, and for some reason
service module (in post_tasks) thinks prosody needs enabling every time.
coffee/favicon.coffee
Permissions: -rw-r--r--
class window.Tram.FaviconApp extends Backbone.View pipColors: Tram.colors.show @canvas = document.createElement('canvas') @listenTo(@model, 'change', @updateFavicon) color = @pipColors[@model.get('show')] ? @pipColors['default'] renderFavicon: (color) -> ctx = @canvas.getContext('2d') ctx.clearRect(0, 0, @canvas.width, @canvas.height) ctx.arc(7.5, 7.5, 5.5, 0, Math.PI * 2) @el.href = @canvas.toDataURL()