Loading ...
Sorry, an error occurred while loading the content.

2116Re: [jslint] Re: Double Indentation (UNCLASSIFIED)

Expand Messages
  • Cheney, Edward A SSG RES USAR USARC
    Apr 6, 2011
    • 0 Attachment
      Classification: UNCLASSIFIED
      The whitespace algorithm is not wrong in its error. The cause of your problem is the ".css".
      This this instead:

      var i = $('<p></p>').css({
      width: '100%',
      height: '200px'
      }),
      o = $('<div></div>').css({
      position: 'absolute',
      top: '0',
      left: '0',
      visibility: 'hidden',
      width: '200px',
      height: '150px',
      overflow: 'hidden'
      }),
      w1,
      h1,
      w2,
      h2;


      Thanks,
      Austin Cheney, CISSP
      http://prettydiff.com/
      Classification: UNCLASSIFIED
    • Show all 4 messages in this topic