zaach/jison — pull request #89 by jasonwyatt (2012-02-29 15:01:23+00:00)
Title: For Master Branch: Added a new moduleType: 'amd' which causes Jison to generate AMD modules...

***This is the updated pull request for master that you asked for.*** *Additionally, I removed the instructions from README.md which tell contributors to use the integration branch :)*

Hi,

I use RequireJS on the front-end and wanted to be able to import my Jison parsers as AMD modules. I went ahead and made a new function: lrGeneratorMixin.generateAMDModule in jison.js, as well as added a check for "amd" in lrGeneratorMixin.generate.

Let me know if you have any questions.

Thanks,
Jason