starting lint

This commit is contained in:
Peter Cottle 2012-12-12 10:32:20 -08:00
parent e876ad6109
commit a1a84d9bfb
3 changed files with 1658 additions and 1657 deletions

View file

@ -788,7 +788,7 @@ var VisEdge = VisBase.extend({
},
validateAtInit: function() {
required = ['tail', 'head'];
var required = ['tail', 'head'];
_.each(required, function(key) {
if (!this.get(key)) {
throw new Error(key + ' is required!');