nbr / ts-python-interpreter

0 stars 0 forks source link

FileWrapper must wrap Node or BrowserFS file object #3

Closed nbr closed 10 years ago

jvilk commented 10 years ago

Note that these are functionally the same. Use the node.d.ts type definitions; they will function in both environments (BFS emulates the node file system, buffer, and path modules in the browser).

ppegusii commented 10 years ago

We ended up wrapping a NodeBuffer, which behaves the same in node or BFS.