donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

Hi! I fixed some code for you! #38

Closed node-migrator-bot closed 12 years ago

node-migrator-bot commented 12 years ago

Hi!

I am migrationBot!

Did you know that path.{exists,existsSync} was moved to fs.{exists,existsSync}, and that process.stdin.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (i.e. process.stdin.setRawMode()) in node v0.8.0? Read more @API changes between v0.6 and v0.8

I automatically made some changes I think will help you migrate your codebase to node v0.8.0, please review these changes and merge them if you feel they are useful, If they are not you can ignore this Pull Request.

Have a Nice Day!

--migrationBot

donpark commented 12 years ago

Sorry but this pull request will break html2jade for Node.js version < 0.8 so I went with code can handle both without triggering deprecation warning (version 0.1.20).