mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-27 07:17:59 +01:00
14 lines
234 B
CoffeeScript
14 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'
|
||
|
])
|
||
|
|