fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Interaktywne błędy, gdy nie udało się wczytać HTML'a.
[redakcja.git]
/
project
/
static
/
js
/
lib
/
codemirror
/
util.js
diff --git
a/project/static/js/lib/codemirror/util.js
b/project/static/js/lib/codemirror/util.js
index
796025e
..
0cd91d4
100644
(file)
--- a/
project/static/js/lib/codemirror/util.js
+++ b/
project/static/js/lib/codemirror/util.js
@@
-123,3
+123,12
@@
function nodeTop(node) {
}
return top;
}
+
+function isBR(node) {
+ var nn = node.nodeName;
+ return nn == "BR" || nn == "br";
+}
+function isSpan(node) {
+ var nn = node.nodeName;
+ return nn == "SPAN" || nn == "span";
+}