John Beech

Results 7 comments of John Beech
trafficstars

Ok, so: ``` js getURL: function(href, tags) { var url = this._urlTemplate.replace(/^%href%/, href); url = url.replace(/%[a-z]+%/g, function(match) { var v; if((v = tags[match]) !== undefined) { return encodeURIComponent(v); } return...

Same sentiment from me - I wasn't looking for a server/file processor - I just wanted a function that would convert a markdown string to a JSON structure. e.g.: ```js...

Started seeing this warning as well; sure it's all over the place: ![image](https://user-images.githubusercontent.com/6341696/195063340-21f09c88-152d-4060-aae7-5cc281874b2e.png)

> Hopefully those [linting errors] will be fairly simple to fix. Super easy, barely an inconvenience :) Running these commands fixed all but one of them: ``` npm i -g...

This has been some spaghetti... so... I've managed to load gonorth_swagger.json into Swagger UI Dist, which involved a bunch of string and tape... ![image](https://user-images.githubusercontent.com/6341696/224569336-3c95fa78-8c3b-491c-b803-8eb2965a837c.png) But when I call one of...

Stored my reference code a gist: - https://gist.github.com/johnbeech/e68f2c4ecc04148e5e9a5bc93080b891

👍 ( + 1 ) this has really wrecked the readability of our Yaml files... have been trying to dynamically add properties / tags to the document tree, buy yamlDump...