Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User ysaspb's Avatar
    Join Date
    Jan 2009
    Posts
    19
    Hi,
    I found 2 cases that stop loading js files in widgets without any notifications on a device (tested on E66).
    They work fine under the emulator.
    • Do not use “const” declaration like
      Code:
      const XXX = 1;
      Use “var” instead
      Code:
      var XXX = 1;
    • Do not use “long” as the name of members in an object definition like
      Code:
      function TObj(long){
      	this.long = long;
      }
      .

    Be careful,
    Sergey

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    I suppose you should always avoid using reserved names on your own variables: http://javascript.about.com/library/blreserved.htm

  3. #3
    Registered User ysaspb's Avatar
    Join Date
    Jan 2009
    Posts
    19
    Sure I will.
    But it's a little bit strange reserved name which corresponds with nothing and is not recognized in the capacity of reserved word by many browsers and engines.

Similar Threads

  1. How to launch the browser on S60 3rd Edition with and without FP1?
    By MobileVisuals in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2009-10-14, 07:57
  2. problem about application icon in S60 3rd ed. fp1
    By abhi560 in forum Symbian C++
    Replies: 11
    Last Post: 2009-08-06, 10:15
  3. Icons in s60
    By drizzt6 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-03-06, 09:32
  4. Data Call on 3rd Ed and 3rd FP1
    By strike_noir in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-04-25, 04:41
  5. How to launch specific settings view in S60 3rd ed FP1
    By teemukurppa in forum Symbian C++
    Replies: 2
    Last Post: 2007-06-12, 15:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved