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

Re: [jslint] unexpected ADsafe lib violation

Expand Messages
  • Douglas Crockford
    ... Thanks. Please try it now.
    Message 1 of 3 , Jul 4 8:17 AM
    • 0 Attachment
      On 7/4/2011 6:39 AM, wildboar17 wrote:
      > // Code:
      > ADSAFE.lib("easy", function () {
      > "use strict";
      > return {
      > fun: function() {
      > }
      > };
      > });
      > // EndCode
      >
      > options:
      > /*jslint browser: true, white: true, safe: true, adsafe: true, maxerr: 50, indent: 4 */
      >
      > Error:
      > Problem at line 1 character 1: Expected 'ADSAFE' and instead saw '{b}'.
      > ADSAFE.lib("easy", function () {
      > Problem at line 8 character 3: ADsafe lib violation.
      > Problem at line 8 character 3: Stopping. (100% scanned).
      > ----------
      >
      > This is my first post to the group - I imagine I'll feel very small when I get a response. But I believe similar source to this was ok for me a few weeks ago.
      >
      Thanks. Please try it now.
    • wildboar17
      ... It s now correct. Thanks for quick response.
      Message 2 of 3 , Jul 4 9:51 AM
      • 0 Attachment
        --- In jslint_com@yahoogroups.com, Douglas Crockford <douglas@...> wrote:
        >
        > On 7/4/2011 6:39 AM, wildboar17 wrote:
        > > // Code:
        > > ADSAFE.lib("easy", function () {
        > > "use strict";
        > > return {
        > > fun: function() {
        > > }
        > > };
        > > });
        > > // EndCode
        > >
        > > options:
        > > /*jslint browser: true, white: true, safe: true, adsafe: true, maxerr: 50, indent: 4 */
        > >
        > > Error:
        > > Problem at line 1 character 1: Expected 'ADSAFE' and instead saw '{b}'.
        > > ADSAFE.lib("easy", function () {
        > > Problem at line 8 character 3: ADsafe lib violation.
        > > Problem at line 8 character 3: Stopping. (100% scanned).
        > > ----------
        > >
        > > This is my first post to the group - I imagine I'll feel very small when I get a response. But I believe similar source to this was ok for me a few weeks ago.
        > >
        > Thanks. Please try it now.
        >
        It's now correct. Thanks for quick response.
      Your message has been successfully submitted and would be delivered to recipients shortly.