aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/core
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-01-23 17:42:28 -0500
committerRichard Gibson <richard.gibson@gmail.com>2013-01-25 10:03:53 -0500
commitac93559eb9f18fcaec95dfdc97358b1b85bfe234 (patch)
tree00547721432a2ff49cf57adfebf1173a083f3cb9 /test/data/core
parent079ee502d6ef150dac0fe8143d55acf93c5a51db (diff)
downloadjquery-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.html22
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>