diff --git a/data/js/tomahawk.js b/data/js/tomahawk.js index 4323bf2cd..38ed015a8 100644 --- a/data/js/tomahawk.js +++ b/data/js/tomahawk.js @@ -345,51 +345,6 @@ Tomahawk.Resolver = { } }; -/**** begin example implementation of a resolver ****/ - - -// implement the resolver -/* - * var DemoResolver = Tomahawk.extend(TomahawkResolver, - * { - * getSettings: function() - * { - * return { - * name: "Demo Resolver", - * weigth: 95, - * timeout: 5, - * limit: 10 - }; - }, - resolve: function( qid, artist, album, track ) - { - return { - qid: qid, - results: [ - { - artist: "Mokele", - album: "You Yourself are Me Myself and I am in Love", - track: "Hiding In Your Insides (php)", - source: "Mokele.co.uk", - url: "http://play.mokele.co.uk/music/Hiding%20In%20Your%20Insides.mp3", - bitrate: 160, - duration: 248, - size: 4971780, - score: 1.0, - extension: "mp3", - mimetype: "audio/mpeg" - } - ] - }; - } - } - ); - - // register the resolver - Tomahawk.resolver.instance = DemoResolver;*/ - -/**** end example implementation of a resolver ****/ - // help functions