Permalink
Browse files

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

  • Loading branch information...
1 parent 6b1be8d commit 016bec5574f6523712b70130322265daa4a73889 @kriszyp kriszyp committed Nov 9, 2011
Showing with 1 addition and 9 deletions.
  1. +0 −8 util/html.js
  2. +1 −1 util/repl.js
View
@@ -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
@@ -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){

0 comments on commit 016bec5

Please sign in to comment.