Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

require("sys").puts -> console.log for 0.6

  • Loading branch information...
commit 016bec5574f6523712b70130322265daa4a73889 1 parent 6b1be8d
@kriszyp kriszyp authored
Showing with 1 addition and 9 deletions.
  1. +0 −8 util/html.js
  2. +1 −1  util/repl.js
View
8 util/html.js
@@ -28,11 +28,3 @@ exports.unescape = function(string) {
exports.stripTags = function (str) {
return str.replace(/<([^>]+)>/g, "");
}
-
-// deprecated
-
-exports.escapeHTML = function (str) {
- require("sys").debug("html.escapeHTML is deprecated.");
- return exports.escape(str);
-};
-
View
2  util/repl.js
@@ -10,7 +10,7 @@ exports.start = function(context){
for (var i in context) if (context.hasOwnProperty(i)) repl.context[i] = context[i];
}
}catch(e){
- require("sys").puts("Unabled to start repl " + e.stack);
+ console.log("Unabled to start repl " + e.stack);
}
if(settings.replPort){
Please sign in to comment.
Something went wrong with that request. Please try again.