projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e9a5f
)
Array.prototype.encodeUtf8 renamed to node.encodeUtf8(array)
author
Ryan
<ry@tinyclouds.org>
Mon, 20 Jul 2009 16:19:13 +0000
(18:19 +0200)
committer
Ryan
<ry@tinyclouds.org>
Mon, 20 Jul 2009 16:19:13 +0000
(18:19 +0200)
src/util.js
patch
|
blob
|
history
diff --git
a/src/util.js
b/src/util.js
index
0c33692
..
da1666a
100644
(file)
--- a/
src/util.js
+++ b/
src/util.js
@@
-20,8
+20,8
@@
node.inherits = function (ctor, superCtor) {
};
// This is useful for dealing with raw encodings.
-
Array.prototype.encodeUtf8 = function (
) {
- return String.fromCharCode.apply(String,
this
);
+
node.encodeUtf8 = function (array
) {
+ return String.fromCharCode.apply(String,
array
);
};
node.cat = function(location, encoding, callback) {