1. Dec 23, 2009
  2. Dec 19, 2009
  3. Dec 18, 2009
  4. Dec 09, 2009
  5. Dec 08, 2009
    • Ryan Dahl's avatar
      fix typo · 89df4d1c
      Ryan Dahl authored
      89df4d1c
    • Ryan Dahl's avatar
      Fix ARGV[0] weirdness · dbb1a267
      Ryan Dahl authored
      dbb1a267
    • Johan Dahlberg's avatar
      Added superCtor to ctor.super_ instead superCtor.prototype. · 9599d2d0
      Johan Dahlberg authored
      This way let's us do deep comparison between object instances.
      
      I have a suggestion for the sys.inherits function. Today it's impossible to
      deep comparison between instance and class.
      
      Take this snippet for example:
      
      function ClassA() {}
      function ClassB() {}
      
      sys.inherits(ClassB, ClassA);
      
      var instance = new ClassB();
      
      The instance variable inherits from ClassA but we can't check it (which is
      useful sometimes). You can compare the instance against ClassB
      (instance.constructor == ClassB) but we can't compare it deeper
      (instance.constructor.super == ClassA). The committed change simply assign
      super to the super constructor instead of the super prototype.
      
      I can't see any problem with this fix. You can still get the super constructor
      by calling super_.prototype.
      9599d2d0
    • visionmedia's avatar
      Export STATUS_CODES · 501b4a54
      visionmedia authored
      Express (my framework) uses them as a default
      response body when non is present. Others
      might use them for something as well.
      
      Beats duplicating the list :D
      501b4a54
    • Ryan Dahl's avatar
      71680f51
    • Ryan Dahl's avatar
      Attach/Detach -> Ref/Unref · c1baa70f
      Ryan Dahl authored
      c1baa70f
  6. Dec 07, 2009