0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test
Ben Noordhuis 463d6bac8b fs: make callbacks run in global context
Callbacks that were passed to the binding layer ran in the context of the
(internal) binding object. Make sure they run in the global context.

Before:

  fs.symlink('a', 'b', function() {
    console.log(this); // prints "{ oncomplete: [Function] }"
  });

After:

  fs.symlink('a', 'b', function() {
    console.log(this); // prints "{ <global object> }"
  });
2012-06-06 21:49:39 +02:00
..
addons test: update addons .gitignore 2012-05-24 14:07:09 +02:00
disabled Merge remote-tracking branch 'ry/v0.6' into master 2012-04-18 11:57:54 -07:00
fixtures Merge remote-tracking branch 'ry/v0.6' into v0.6-merge 2012-05-15 11:37:34 -07:00
gc 500 is a magic number for the GC for some reason 2012-05-11 15:01:38 -07:00
internet
message test: v8 stack trace messages changed slightly 2012-06-01 22:31:05 -07:00
pummel test: update pummel/test-exec 2012-05-31 01:46:56 +02:00
simple fs: make callbacks run in global context 2012-06-06 21:49:39 +02:00
common.js typed arrays: add Uint8ClampedArray 2012-03-28 22:57:15 +02:00