Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

jslint_com · This group has moved to Google Plus.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 586
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
problems with Nesting   Topic List   < Prev Topic  |  Next Topic >
Summarize Messages | View Threaded Sort by Date v  
#1624 From: "abyssoft@..." <abyssoft@...>
Date: Sun Nov 21, 2010 11:20 pm
Subject: problems with Nesting
abyssoft...
Send Email Send Email
 
given the following snippet where » are tabs (4 space) and ---------- are begin
and end markers. (the blank line after the start marker is intentional)

----------

"use strict";
//Library (Netsuite Objects)
/*global NlobjAssistant, NlobjAssistantStep, NlobjButton, NlobjColumn,
NlobjConfiguration, NlobjContext, NlobjError, NlobjField, NlobjFieldGroup,
NlobjFile, NlobjForm, NlobjList, NlobjPortlet, NlobjRecord, NlobjRecord,
NlobjRequest, NlobjResponse, NlobjSearchColumn, NlobjSearchFilter,
NlobjSearchResult, NlobjSelectOption, NlobjSubList, NlobjTab
*/
//Library (Netsuite API)
/*global nlapiSearchRecord
*/
//Library (IS_library_V2_00)
/*global Global
*/
var searchResults = nlapiSearchRecord(
»'customrecord_is_module_codes',
»null,
»[
»»new NlobjSearchFilter(
»»»'internalid',
»»»null,
»»»"noneof",
»»»[
»»»»29,
»»»»31,
»»»»32,
»»»»33
»»»]
»»)
»]
);
----------

JSLint responds with a rather unexpected error

Problem at line 27 character 5: Expected ']' to have an indentation at 9 instead
at 5.

Any insight as to whether this is a bug, or am I missing something?




 
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help