Menu

#4 Highlight language-specific objects

SHJS
open-accepted
nobody
SHJS (4)
5
2008-10-25
2008-10-25
gnombat
No

I just wanted to suggest adding something for language-specific objects and properties. I mean like, in javascript, with javascript-specific objects like document, snapshotLength, window, navigator and so forth...

and perhaps an appropriate class name for these would be sh_object

Discussion

  • gnombat

    gnombat - 2008-10-25
    • status: open --> open-accepted
     
  • gnombat

    gnombat - 2008-10-25

    There actually is a class sh_predef_var for this sort of thing (also sh_predef_func for functions) in the latest version of SHJS, but it is not being used by many languages.

     
  • gnombat

    gnombat - 2008-12-17

    In SHJS 0.6, some objects have been added to the javascript and the new javascript_dom language files.

     

Log in to post a comment.