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