mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-24 14:08:00 +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 + '%' |