[Pkg-javascript-commits] [sockjs-client] 321/434: Cosmetic: don't put </script verbatim in the javascript.

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 650a4e940927407de7d54645b9a2538ec3aa7c24
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Wed Jan 18 12:29:48 2012 +0000

    Cosmetic: don't put </script verbatim in the javascript.
---
 lib/dom.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/dom.js b/lib/dom.js
index b7da8b4..900590e 100644
--- a/lib/dom.js
+++ b/lib/dom.js
@@ -145,9 +145,9 @@ utils.createHtmlfile = function (iframe_url, error_callback) {
     };
 
     doc.open();
-    doc.write('<html><script>' +
+    doc.write('<html><s' + 'cript>' +
               'document.domain="' + document.domain + '";' +
-              '</script></html>');
+              '</s' + 'cript></html>');
     doc.close();
     doc.parentWindow[WPrefix] = _window[WPrefix];
     var c = doc.createElement('div');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list