This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 16 - Pages: 2 [ Previous | 1 2 ] - Last Post: 26 Aug 25, 18:25 Last Post By: RobM
davidekholm

Posts: 3,975
Registered: 18-Oct-2002
Re: renderer.buildSrcset broken passing 'path'
Posted: 26 Aug 25, 18:12   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
That method seems to behave, wouldn't you say Rob?
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: renderer.buildSrcset broken passing 'path'
Posted: 26 Aug 25, 18:25   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
That method seems to behave, wouldn't you say Rob?
‘Stripping stuff after the last /‘
To me, if there is nothing after the last / then it should return everything up to and including the last /. You could change the description of the api to ‘Stripping everything after the last / that is followed by stuff’.

It appears to be an API call that was used by just me, or if used by others then their interpretation is different from mine. I wouldn’t spend anymore time on it if you’re happy with the definition and how it works. I can make it work now, or I can just not support variants.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums