Just in case, and I'm not sure if this'll parse without escaping:

var scum = '["bart","baxterbasics","blimey","Blue Lowestoft","Bluelagos","BluWit","BryanGunnFootyGenius","bryan_gunns_hair","Bye_Bye_Budgies","Chrisirhc","CLAPMITJOE","Cockney ITFC","DonJuan","DUFFYIN","Essex Yella Belly","Fabian Wilnis","Fat Lady Singing","Goalmusic","Grunt In","Hardtackle","harleston1933","Hoof74","huckerbyisgay","IPSWICH_TIL_I_DIE","itfchaha","ITFC_BLUE","Jasonm","Jou","Keanoitfc","lordowent","Lucy","magicsback","MasterStroke","mathiehattrick","milky85","Mr Wong","Naaarrrrrwiiccchhh","ncfc are scum","Nicola_Sacco","Northstander","northstandsteps","norwich are great","norwich scumbags","offtheballs**tty","ParisBlue","pinkun","prideofanglia","ReturnOfTheBlue","rmc14","Robert_Chase","silentwitness","skegnesscanary","Soontobebanned","SuffolkTravelClub","tractorgirls","Trophy Polisher","trulyblue","Upperjarroldmiddle","warky","warky1970","we beat the scum 2 1","wycombe_yella"]'.evalJSON();

In his code review meeting he's going to have to be prepared to answer some pretty sharp questions about why he's representing a j/s array in a string, and then calling a JSON eval function, instead of simply rendering a JSON array in the first place. And that's skipping over the whole business about the appropriateness of doing that all on the client-side and not the server-side, but I expect that ship sailed a v. long time ago.

Posted By: Arizona Bay on March 3rd 2015 at 17:29:40


Message Thread


Reply to Message

In order to add a post to the WotB Message Board you must be a registered WotB user.

If you are not yet registered then please visit the registration page. You should ensure that their browser is setup to accept cookies.

Log in