ClojureScript

All global vars (f.e. __dirname) of node.js should be in cljs.nodejs

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    clojure 1.3.0-alpha-8
    clojurescript commit 22a64ff17b343b6c61039fcb66fd9acf34d98522
    windows vista
    node.js version v0.4.11

Description

To get access of all node.js goodies without using js* it would be nice to all global variables of node.js (http://nodejs.org/docs/v0.4.11/api/globals.html#process) were part of the module cljs/nodejs
Thanks

Activity

David Nolen made changes -
Field Original Value New Value
Priority Major [ 3 ] Minor [ 4 ]
Hide
David Nolen added a comment -

The real solution is to supply Node.js externs on your own.

Show
David Nolen added a comment - The real solution is to supply Node.js externs on your own.
David Nolen made changes -
Resolution Declined [ 2 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: