It probably should be.

would

url: "//api.embed.ly/1/oembed?key=
<http://api.embed.ly/1/oembed?key=>" + this.key + "&url=" +
escape(url),

work?



On 29 July 2013 15:58, raffij <notifications@github.com> wrote:

> In dist/sir-trevor.js:
>
> > +        {
> > +          this.loading();
> > +
> > +          var embedlyCallbackSuccess = function(data) {
> > +            this.setData(data);
> > +            this._loadData();
> > +            this.ready();
> > +
> > +          };
> > +
> > +          var embedlyCallbackFail = function() {
> > +            this.ready();
> > +          };
> > +
> > +          $.ajax({
> > +            url: "http://api.embed.ly/1/oembed?key=" + this.key + "&url=" + escape(url),
>
> Should we go protocol agnostic?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/madebymany/sir-trevor-js/pull/33/files#r5451417>
> .
>



-- 
Made By Many Ltd
Diespeker Wharf
38 Graham Street
London
N1 8JX

@stueccles / +44 793 955 6523