diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-01-23 17:42:28 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-01-25 10:03:53 -0500 |
commit | ac93559eb9f18fcaec95dfdc97358b1b85bfe234 (patch) | |
tree | 00547721432a2ff49cf57adfebf1173a083f3cb9 /test/data/core | |
parent | 079ee502d6ef150dac0fe8143d55acf93c5a51db (diff) | |
download | jquery-ac93559eb9f18fcaec95dfdc97358b1b85bfe234.tar.gz jquery-ac93559eb9f18fcaec95dfdc97358b1b85bfe234.zip |
Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.
Diffstat (limited to 'test/data/core')
-rw-r--r-- | test/data/core/cc_on.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/data/core/cc_on.html b/test/data/core/cc_on.html new file mode 100644 index 000000000..88bb01029 --- /dev/null +++ b/test/data/core/cc_on.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <script> + var cc_on = false, + errors = []; +/*@cc_on + cc_on = true; +@*/ + window.onerror = function( errorMessage, filePath, lineNumber ) { + errors.push( errorMessage ); + }; + </script> + <script src="../../../dist/jquery.min.js"></script> +</head> +<body> + <script> + window.parent.iframeCallback( cc_on, errors, jQuery ); + </script> +</body> +</html> |