References Fixerd

This commit is contained in:
Luis Fernando Molina committed 2018-05-06 21:42:55 +02:00
1 parent 45c41273b5
commit e522d9302c
575 files changed
+13920 -20071

No files matched your search

-6
View File
@@ -94,12 +94,6 @@ fs.readFile __dirname + '/foo.xml', (err, data) ->
console.log 'Done.'
```
But what happens if you forget the `new` keyword to create a new `Parser`? In
the middle of a nightly coding session, it might get lost, after all. Worry
not, we got you covered! Starting with 0.2.8 you can also leave it out, in
which case `xml2js` will helpfully add it for you, no bad surprises and
inexplicable bugs!
"Traditional" usage
-------------------