Skip to content

Commit

Permalink
added a generated comment and jshint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-karolewski committed Jun 1, 2015
1 parent 9eabc2f commit 1d441ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jison.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ lrGeneratorMixin.generateAngularModule = function generateAngularModule(opt){
var module = this.generateModule_();
var moduleName = opt.moduleName || "parser";

var out = 'angular.module("jison.'+moduleName+'", [])' +
var out = '// generated by jison\n// jshint ignore: start\nangular.module("jison.'+moduleName+'", [])' +
'.factory("'+moduleName+'Parser", function(){\n'
+ module.commonCode
+ '\nvar parser = '+ module.moduleCode
Expand Down

0 comments on commit 1d441ab

Please sign in to comment.