- Dec 19, 2009
-
-
isaacs authored
-
isaacs authored
Fix for bug brought up by nua in irc, where child modules get the wrong id when loaded from a parent module with an id of index.js or index.addon.
-
isaacs authored
-
isaacs authored
If you have a circular require chain in which one or more of the modules are referenced with a ".." relative path, like require("../foo"), node blows up. This patch un-blows-up that case. There still seem to be issues with circularity, but this solves one of the more obnoxious ones. -
Ryan Dahl authored
Reported by Kris Zyp http://groups.google.com/group/nodejs/browse_thread/thread/1feab0309bd5402b
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
Pull in the uri.js from Narwhal and create tests, stripping out the cruft from a previous code-surgery.
-
visionmedia authored
Acts in pretty much the same manor just a bit more elegant
- Dec 18, 2009
-
-
Joshaven Potter authored
-
Micheil Smith authored
-
Ryan Dahl authored
-
Rasmus Andersson authored
-
Ryan Dahl authored
-
Rasmus Andersson authored
-
Rasmus Andersson authored
-
Ryan Dahl authored
-
Ryan McGrath authored
Added in API documentation concerning the (seemingly undocumented) process.chdir() method, complementary to process.cwd()
-
- Dec 09, 2009
- Dec 08, 2009
-
-
Ryan Dahl authored
-
Ryan Dahl authored
-
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. -
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
-
Ryan Dahl authored
-
Ryan Dahl authored
-
- Dec 07, 2009
-
-
Ryan Dahl authored
-
Xavier Shay authored
-
Ryan Dahl authored
-
Felix Geisendörfer authored
This is not a bug in process.mixin, but I think it is undesirable behavior. Right now process.mixin will not copy over keys with undefined values. To me that is an unexpected filtering that should not happen unless specifically called for.
-
Felix Geisendörfer authored
Bug #1 occurred when trying to use process.mixin on a function and produced a fatal exception. Bug #2 occurred when trying to do a deep merge with an object containing one or more objects with a nodeType property. In those cases the deep copy for this part of the object was not performed and a shallow one was performed instead. Both of these bugs were artifacts of the jQuery.extend port.
-
Christopher Lenz authored
Change the http.Client API so that it provides a single request() method taking an optional parameter to specify the HTTP method (defaulting to "GET"), instead of the five methods get(), head(), post(), del() and put().
-
Ryan Dahl authored
-