X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e3daf6a78b558bb2d776b389ba65a58eea1de2be..501966167ee4f2b8c4a493876a580bf26d13942a:/project/static/js/lib/codemirror/stringstream.js?ds=inline 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 = "";