[Opengeoscience-developers] JSLint Example

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Apr 18 12:42:11 EDT 2013


On Thu, Apr 18, 2013 at 12:23 PM, Manas Pawar <mp3381 at students.poly.edu>wrote:

> Hello Ashish,
> You are right. This will override the variable declared in a different
> module. I guess jslint does not handle this. So we should undo the global
> variable declaration. Is it the same with other variables right?
>

Yes, probably you can pass a flag like Ben suggested to ignore these
errors.


>
> Regards
> Manas Pawar
>
>
>
> -------- Original message --------
> Subject: Re: [Opengeoscience-developers] JSLint Example
> From: Aashish Chaudhary <aashish.chaudhary at kitware.com>
> To: Manas Pawar <mp3381 at students.poly.edu>
> CC: Ben Burnett <bburnett at poly.edu>,opengeoscience-developers <
> opengeoscience-developers at public.kitware.com>
>
>
> Hi Manas,
>
> How does it work? I mean vglModule is already defined in vgl/init.js if
> you redefine it, I guess we would lose its value from init.js/ NO?
>
> Thanks
>
>
>
> On Wed, Apr 17, 2013 at 5:55 PM, Manas Pawar <mp3381 at students.poly.edu>wrote:
>
>>    Hello Ben, Aashish,
>>
>>  I have attached an example .js file. Can you please review it. I have
>> preserved the TODO, set the indent to 2 spaces and will declare *
>> vgsModule*, *inherit, gl and mat4 as *global variables.
>>
>>  Regards
>> Manas Pawar
>>
>> _______________________________________________
>> Opengeoscience-developers mailing list
>> Opengeoscience-developers at public.kitware.com
>>
>> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>>
>>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130418/20ce1a97/attachment.html>


More information about the Opengeoscience-developers mailing list