mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 14:58:00 +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'
|
|
])
|
|
|