fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7d20ecc
)
Usunięcie komunikatów do debugowania z xslt.js.
author
zuber
<marek@stepniowski.com>
Tue, 12 Jan 2010 15:58:47 +0000
(16:58 +0100)
committer
zuber
<marek@stepniowski.com>
Tue, 12 Jan 2010 15:58:47 +0000
(16:58 +0100)
platforma/static/js/xslt.js
patch
|
blob
|
history
diff --git
a/platforma/static/js/xslt.js
b/platforma/static/js/xslt.js
index
48543e6
..
f6ddb87
100644
(file)
--- a/
platforma/static/js/xslt.js
+++ b/
platforma/static/js/xslt.js
@@
-168,8
+168,6
@@
function xml2html(options) {
if (error.length > 0 && options.error) {
options.error(error.text());
} else {
if (error.length > 0 && options.error) {
options.error(error.text());
} else {
- // console.log(options.xml);
- console.log(doc, doc.firstChild);
options.success(doc.firstChild);
}
}, function() { options.error && options.error('Nie udało się załadować XSLT'); });
options.success(doc.firstChild);
}
}, function() { options.error && options.error('Nie udało się załadować XSLT'); });
@@
-191,8
+189,6
@@
function html2xml(options) {
if (error.length > 0 && options.error) {
options.error(error.text());
if (error.length > 0 && options.error) {
options.error(error.text());
- console.log(error);
- $('#source-editor').html('<p>Wystąpił błąd:</p>' + error.text());
} else {
options.success(serialize(doc.documentElement).join(''));
}
} else {
options.success(serialize(doc.documentElement).join(''));
}