From 01685c255fda6e13f1cd2980130d2e388d52125c Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 4 Jul 2015 11:31:01 +0800 Subject: Updated codemirror to 5.4.0 --- public/vendor/codemirror/mode/livescript/livescript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/vendor/codemirror/mode/livescript') diff --git a/public/vendor/codemirror/mode/livescript/livescript.js b/public/vendor/codemirror/mode/livescript/livescript.js index 55882efc..4b26e046 100755 --- a/public/vendor/codemirror/mode/livescript/livescript.js +++ b/public/vendor/codemirror/mode/livescript/livescript.js @@ -24,8 +24,8 @@ var nr = Rules[next_rule]; if (nr.splice) { for (var i$ = 0; i$ < nr.length; ++i$) { - var r = nr[i$], m; - if (r.regex && (m = stream.match(r.regex))) { + var r = nr[i$]; + if (r.regex && stream.match(r.regex)) { state.next = r.next || state.next; return r.token; } -- cgit v1.2.3