tbusser / jscc

This is the website for the JavaScript Compatibility Checker
http://jscc.info
88 stars 17 forks source link

Rules regexes as separate json file #10

Open arroo opened 8 years ago

arroo commented 8 years ago

Would it be possible to get the rules regexes made and used from a separate json file?

tbusser commented 7 years ago

Yeah, that is definitely on my to-do list. It will require a bit of work as the DataStore now has these regexs as RegExp objects. They'll have to converted to strings and used to create the RegExp objects once they're loaded.

If you can convert the current RexExp objects to strings and initialize the RegExp object in the DataStore init method it would save me a bundle of time and I would be able get your request done quickly.