mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 13:37:59 +01:00
13 lines
234 B
CoffeeScript
13 lines
234 B
CoffeeScript
angular.module('ponyfm').factory('lightbox', [
|
|
() ->
|
|
openDataUrl: (src) ->
|
|
$.colorbox
|
|
html: '<img src="' + src + '" />'
|
|
transition: 'none'
|
|
|
|
openImageUrl: (src) ->
|
|
$.colorbox
|
|
href: src
|
|
transition: 'none'
|
|
])
|
|
|