LANGREITER.COM plain, simple
      START     INDEX
 
helma-notes-js-1.7Visualize Context (requires Java Plug-in)
CREATED BY chris • LAST EDITED BY chris 5898 days AGO
Enabling Rhino's JavaScript 1.7 support in Helma

2008-02-04

- hns added a new Rhino snapshot to the Helma repository; furthermore, JavaScript 1.7 is now enabled by default!

2008-01-02

- hns committed the (languageVersion) patch below, so checking out Helma from SVN (see helma-notes) or fetching tomorrow's nightly should be enough. Yay!

2007-12-25

- Apply token.patch from dev.helma.org/wiki/Rhino+Bugs+%26+Patches/
- Re-build Rhino, copy js.jar to (Helma) lib/rhino.jar
- Apply patch from www.langreiter.com/2007/helma-js-1.7/
- Re-build Helma
- Add "rhino.languageVersion = 170" to [server|app].properties

- Alternatively, fetch helma-js-1.7.tgz (contains updated helma.jar and rhino.jar).

Issues/Observations

- for/in iteration isn't supported for strings. Add it: String.prototype.__iterator__ = function() {for (let i = 0; i < this.length; i++) yield this[i];};
- Destructuring assignment also works in function declarations: (function([a,b]) {return [b,a];})([1,2])
- Destructuring assignment also works with objects and at depth: let {name: name, age: age, address: [home, biz]} = {name: "chl", age: 28, address: ["lngk", "vie"]}


  SEARCH

GET YOUR MOVE ON

  ALMOST ALL ABOUT YOU
So log in, fella — or finally get your langreiter.com account. You always wanted one.
Nearby in the temporal dimension:
Nobody.
... and 16 of the anonymous kind.
Click on Join us in the chatterbox dimension! for a moderate dose of lcom-talk. This will probably not work in Lynx and other browser exotica.


BACKLINKS
  2007-12-26-r17
  helma-notes


RECENT EDITS (MORE)
  films-seen
  Blood Stone
  y!kes
  wet towel
  B Studio
  Pilcrow News
  Nastassja Kinski
  2011-10-06-steve
  2011-10-06
  comment-2011-08-04-1

POWERED BY
Special Entanglement Forces provided by Vanilla

&c.
GeoURL RSS 0.92

FRIENDLY SHOPS
Uncut Games bei Gameware

OFFEN!
Offenlegung gem. §25 MedienG:
Christian Langreiter, Langkampfen
See also: Privacy policy.



 
EDIT