Improve FancyBox version detection

main
James Martindale 3 years ago
parent 3d0b81d13e
commit bbfbfecd8a

@ -7463,7 +7463,9 @@
"icon": "FancyBox.png",
"implies": "jQuery",
"js": {
"$.fancybox.version": "^(.+)$\\;version:\\1"
"$.fancybox.version": "^(.+)$\\;version:\\1",
"jQuery.fancybox.version": "^(.+)$\\;version:\\1",
"Fancybox.version": "^(.+)$\\;version:\\1"
},
"scripts": "jquery\\.fancybox(?:\\.pack|\\.min)?\\.js(?:\\?v=([\\d.]+))?$\\;version:\\1",
"website": "http://fancyapps.com/fancybox"