You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. I think there's a problem with supporting no extension URLs in 0.6.1
The method s.createInstance, is only parsing the src with var details = s._parsePath(src.src); , which will fail for src's which have no extension. I think we need to use the parseSrc function, so that the src is validated, but there is a catch.
Calling src = s._getSrcById(src); a few lines up, only returns the src, without the extension, so parseSrc would always fail.
I don't know if I make any sense, but is there an example for using extension-less URLs?
Thank you.
The text was updated successfully, but these errors were encountered:
tehmaestro
changed the title
No extension problems?
No extension problems in 0.6.1 ?
Jul 29, 2015
tehmaestro
changed the title
No extension problems in 0.6.1 ?
No extension URL issues in 0.6.1 ?
Jul 29, 2015
Hey. I think there's a problem with supporting no extension URLs in 0.6.1
The method
s.createInstance
, is only parsing the src withvar details = s._parsePath(src.src);
, which will fail for src's which have no extension. I think we need to use theparseSrc
function, so that the src is validated, but there is a catch.Calling
src = s._getSrcById(src);
a few lines up, only returns the src, without the extension, soparseSrc
would always fail.I don't know if I make any sense, but is there an example for using extension-less URLs?
Thank you.
The text was updated successfully, but these errors were encountered: