#529 ✓ staged
cadecairos

OpenMap plugin fails lint

Reported by cadecairos | May 18th, 2011 @ 11:44 AM | in 0.6

this is what I see when I run make lint-plugins

Linting ./plugins/openmap/popcorn.openmap.js

      map = new OpenLayers.Map( { div: newdiv, "maxResolution": .28125, tileSize: new OpenLayers.Size( 512, 512 ) } );
Problem at line 96 character 69: A leading decimal point can be confused with a dot: '.28125'.
                  },
Problem at line 182 character 24: Don't make functions within a loop.
                } );
Problem at line 192 character 21: Don't make functions within a loop.
              };
Problem at line 217 character 20: Don't make functions within a loop.

4 Error(s) found.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.

Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.

Shared Ticket Bins

Pages