mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 08:37:59 +01:00
5 lines
No EOL
188 B
CoffeeScript
5 lines
No EOL
188 B
CoffeeScript
angular.module('ponyfm').directive 'pfmProgressBar', () ->
|
|
(scope, element, attrs) ->
|
|
scope.$watch attrs.pfmProgressBar, (val) ->
|
|
return if !val?
|
|
$(element).css 'width', val + '%' |