Jump to content
GreenSock

Ctmanic

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Ctmanic

  1. Wow! Thank you for the fast and thorough reply. Absolutely sounds fair enough. The reason I sent through the minified version is there were many fewer errors in it according to Jslint. And yes, everything you said makes good sense. I will be sending everything you say here to the engineering team and hopefully they will see the light. :)

     

    So here are all the JSlint "errors" spitting out in the console:

     

     

     
    Error: '_changePause' was used before it was defined.    in    TweenMax.js    line 430    id    11340
    Error: '_changePause' was used before it was defined.   in    TweenMax.js    line 434    id    11341
    Error: '_gsDefine' was used before it was defined.    in    TweenMax.js    line 23    id    11311
    Error: '_paramProps' was used before it was defined.    in    TweenMax.js    line 549    id    11345
    Error: Don't make functions within a loop.    in    TweenMax.js    line 301    id    11333
    Error: Empty block.    in    TweenMax.js    line 672    id    11352
    Error: Expected '!==' and instead saw '!='.    in    TweenMax.js    line 63    id    11312
    Error: Expected '!==' and instead saw '!='.    in    TweenMax.js    line 375    id    11336
    Error: Expected '!==' and instead saw '!='.    in    TweenMax.js    line 608    id    11348
    Error: Expected '!==' and instead saw '!='.    in   TweenMax.js    line 757    id    11356
    Error: Expected '!==' and instead saw '!='.    in   TweenMax.js    line 777    id    11358
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 125    id    11315
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 155    id    11317
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 159    id    11318
    Error: Expected '{' and instead saw 'if'.    in   TweenMax.js    line 206    id    11320
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 206    id    11321
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 217    id    11322
    Error: Expected '{' and instead saw 'if'.   in    TweenMax.js    line 220    id    11323
    Error: Expected '{' and instead saw 'if'.    in   TweenMax.js    line 220    id    11324
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 220    id    11325
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 234    id    11326
    Error: Expected '{' and instead saw 'if'.   in    TweenMax.js    line 237    id    11327
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 237    id    11328
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 237    id    11329
    Error: Expected '{' and instead saw 'if'.    in   TweenMax.js    line 240    id    11330
    Error: Expected '{' and instead saw 'if'.    in   TweenMax.js    line 247    id    11331
    Error: Expected '{' and instead saw 'if'.    in   TweenMax.js    line 704    id    11353
    Error: Expected '{' and instead saw 'if'.    in    TweenMax.js    line 704    id    11354
    Error: Expected '{' and instead saw 'if'.    in   TweenMax.js    line 704    id    11355
    Error: Expected '===' and instead saw '=='.    in    TweenMax.js    line 369    id    11334
    Error: Expected '===' and instead saw '=='.    in   TweenMax.js    line 372    id    11335
    Error: Expected '===' and instead saw '=='.    in    TweenMax.js    line 392    id    11338
    Error: Expected '===' and instead saw '=='.   in    TweenMax.js    line 617    id    11349
    Error: Expected '===' and instead saw '=='.    in   TweenMax.js    line 643    id    11350
    Error: Expected '===' and instead saw '=='.    in    TweenMax.js    line 648    id    11351
    Error: Expected '===' and instead saw '=='.    in    TweenMax.js    line 774    id    11357
    Error: Expected '===' and instead saw '=='.   in   TweenMax.js    line 780    id    11359
    Error: Expected a conditional expression and instead saw an assignment.   in    TweenMax.js    line 16    id    11310
    Error: Expected a conditional expression and instead saw an assignment.   in    TweenMax.js    line 381    id    11337
    Error: Expected a conditional expression and instead saw an assignment.    in    TweenMax.js    line 450    id    11342
    Error: Expected a conditional expression and instead saw an assignment.    in    TweenMax.js    line 552    id    11346
  2. Hi, Love Greensock, been using it for years in AS.

     

    I am using the JS lib now and it's fantastic as well. I am working for a company that is looking to future proof all their code, and they have a massive framework. Loads of animations in javascript.

     

    The issue is that when using Eclipse and Jslint for error checking the JS, there is a handful of errors that show up realting to Tweenmax.min.js. And they will not use any library that has any errors showing up. (Future proofing).

     

    So, could someone look into these errors? I would love to be able to use Greensock on this project.

     

     

    Error: '_gsDefine' was used before it was defined.    in    TweenMax.min.js    line 15   
     
    Error: Expected ';' and instead saw ','.    in   TweenMax.min.js    line 15
     
    Error: Expected a conditional expression and instead saw an assignment.    in   TweenMax.min.js    line 15
     
    Error: Expected an identifier and instead saw ','.    in    TweenMax.min.js    line 15
     
    Error: Stopping.  (84% scanned).    in   TweenMax.min.js    line 15
     
    Syntax error on token ",", ~ expected after this token    in    TweenMax.min.js    line 16
    Syntax error on token "}", ; expected    in    TweenMax.min.js    line 16
    Syntax error on token "}", ; expected    in    TweenMax.min.js    line 16
    Syntax error on token "break", ; expected after this token   in    TweenMax.min.js    line 15
    Syntax error on token "break", ; expected after this token    in    TweenMax.min.js    line 17
    Syntax error on token(s), misplaced construct(s)    in    TweenMax.min.js    line 16
    Syntax error, insert "Arguments" to complete MemberExpression   in   TweenMax.min.js    line 17   
     
     
    Cheers,
    -c
     
     
     
×