diff --git a/README.md b/README.md index 0fa79d4..95a6b2e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Make sure your subtitle files comply with the [SubRip file format][3] var srt = require("srt") - srt(fileName, "en", function (err, data) { + srt("en", fileName, function (err, data) { /* data looks like [ { @@ -102,4 +102,4 @@ The file in the above example contained [1]: https://secure.travis-ci.org/Colingo/srt-parser.png [2]: http://travis-ci.org/Colingo/srt-parser - [3]: http://en.wikipedia.org/wiki/SubRip \ No newline at end of file + [3]: http://en.wikipedia.org/wiki/SubRip