Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (36 sloc) 1.3 KB
<!DOCTYPE html>
<html>
<head>
<!--
Inject
Copyright 2011 Jakob Heuser
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS
IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied. See the License for the specific language
governing permissions and limitations under the License.
-->
<!--[if lte IE 7]>
<script src="/ie-localstorage-json-shim.js" type="text/javascript" id="ie-localstorage-shim"></script>
<![endif]-->
<script type="text/javascript" src="/inject.js"></script>
</head>
<body>
<h1>Syntax Errors</h1>
<p>Even though it's eval(), you can still get all the proper debugging information.</p>
<p><a href="index.html">Back to examples</a></p>
<button id="clearit">Clear Cache</button>
<script type="text/javascript">
document.getElementById("clearit").onclick = function() {
require.clearCache();
};
require.setModuleRoot("/examples/deps");
require.run("errors/syntaxerror");
require.run("errors/referenceerror");
</script>
</body>
</html>
Something went wrong with that request. Please try again.