X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/eb77cf373a37d609fcf39626c36d2878d4a60e6c..3e25eb8de00f8d172b3ed2cfbb236e1e672426a0:/project/static/js/lib/codemirror/stringstream.js diff --git a/project/static/js/lib/codemirror/stringstream.js b/project/static/js/lib/codemirror/stringstream.js index 6d9355f4..8c1c0422 100644 --- a/project/static/js/lib/codemirror/stringstream.js +++ b/project/static/js/lib/codemirror/stringstream.js @@ -7,13 +7,13 @@ * An easy mistake to make is to let a StopIteration exception finish * the token stream while there are still characters pending in the * string stream (hitting the end of the buffer while parsing a - * token). To make it easier to detect such errors, the strings throw - * an exception when this happens. + * token). To make it easier to detect such errors, the stringstreams + * throw an exception when this happens. */ -// Make a string stream out of an iterator that returns strings. This -// is applied to the result of traverseDOM (see codemirror.js), and -// the resulting stream is fed to the parser. +// Make a stringstream stream out of an iterator that returns strings. +// This is applied to the result of traverseDOM (see codemirror.js), +// and the resulting stream is fed to the parser. window.stringStream = function(source){ // String that's currently being iterated over. var current = "";