Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

Unified Diff: samples/third_party/codemirror/js/parsexml.js

Issue 3083012: Tidying up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/o3d/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/third_party/codemirror/js/parsesparql.js ('k') | samples/third_party/codemirror/js/select.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/codemirror/js/parsexml.js
===================================================================
--- samples/third_party/codemirror/js/parsexml.js (revision 55159)
+++ samples/third_party/codemirror/js/parsexml.js (working copy)
@@ -135,7 +135,7 @@
var tokenNr = 0, indented = 0;
var currentTag = null, context = null;
var consume, marked;
-
+
function push(fs) {
for (var i = fs.length - 1; i >= 0; i--)
cc.push(fs[i]);
@@ -267,7 +267,7 @@
copy: function(){
var _cc = cc.concat([]), _tokenState = tokens.state, _context = context;
var parser = this;
-
+
return function(input){
cc = _cc.concat([]);
tokenNr = indented = 0;
« no previous file with comments | « samples/third_party/codemirror/js/parsesparql.js ('k') | samples/third_party/codemirror/js/select.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698