Commit f226f13
Allow to work in non-browser env
‘window’ is specific to browser environments. The convnetjs variable
has already been made into a global variable at this point, so the
assignment is redundant. This allows it to work in non-browser
environments other than node.1 parent 4c3358a commit f226f13
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments