mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
replacing all isType tests that relied on string comparisons with versions that check for existence of known methods and properties. Less safe, but more than an order of magnitude faster.
This commit is contained in:
19
test/temp_tests.html
Normal file
19
test/temp_tests.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Underscore Temporary Tests</title>
|
||||
<link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
|
||||
<script type="text/javascript" src="vendor/jquery.js"></script>
|
||||
<script type="text/javascript" src="vendor/jslitmus.js"></script>
|
||||
<script type="text/javascript" src="../underscore.js"></script>
|
||||
<script type="text/javascript" src="temp.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="qunit-header">Underscore Temporary Tests</h1>
|
||||
<h2 class="qunit-userAgent">
|
||||
A page for temporary speed tests, used for developing faster implementations
|
||||
of existing Underscore methods.
|
||||
</h2>
|
||||
<br />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user