Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bye, type="text/javascript"

  • Loading branch information...
commit f5a5b1de88007b50a9c7269eb80950792c6b9c17 1 parent 67eacbe
Peter Leonov authored
Showing with 356 additions and 356 deletions.
  1. +8 −8 tests/animation.html
  2. +4 −4 tests/array-random.html
  3. +4 −4 tests/array-randomize.html
  4. +2 −2 tests/base-types.html
  5. +2 −2 tests/benchmarks/array-concat.html
  6. +2 −2 tests/benchmarks/array-sort.html
  7. +7 −7 tests/benchmarks/boxer.html
  8. +2 −2 tests/benchmarks/compile-time-arithmetics.html
  9. +2 −2 tests/benchmarks/cons-string-vs-array-join.html
  10. +4 −4 tests/benchmarks/create-element.html
  11. +2 −2 tests/benchmarks/custom-array.html
  12. +2 −2 tests/benchmarks/document-fragment.html
  13. +2 −2 tests/benchmarks/eval.html
  14. +3 −3 tests/benchmarks/first-letter-search.html
  15. +4 −4 tests/benchmarks/gridder.html
  16. +2 −2 tests/benchmarks/in-vs-get-property-extended.html
  17. +2 −2 tests/benchmarks/in-vs-get-property.html
  18. +2 −2 tests/benchmarks/multiple-sort.html
  19. +3 −3 tests/benchmarks/object-is-empty.html
  20. +2 −2 tests/benchmarks/object-proto.html
  21. +2 −2 tests/benchmarks/private-variables.html
  22. +2 −2 tests/benchmarks/reorder-visibility-test.html
  23. +2 −2 tests/benchmarks/search-hash-vs-array.html
  24. +2 −2 tests/benchmarks/sign-check.html
  25. +1 −1  tests/benchmarks/tests.common.js
  26. +7 −7 tests/boxer.html
  27. +2 −2 tests/cascade.html
  28. +9 −9 tests/child-indexed-path.html
  29. +4 −4 tests/class-name.html
  30. +11 −11 tests/client-storage.html
  31. +10 −10 tests/client-storage/client-storage-helper.html
  32. +7 −7 tests/cloner.html
  33. +4 −4 tests/custom-event.html
  34. +1 −1  tests/demo/infinite-scroller.html
  35. +6 −6 tests/demo/input-select-start-end.html
  36. +12 −12 tests/demo/visibility-frame.html
  37. +6 −6 tests/element-offset-position.html
  38. +4 −4 tests/event-classes.html
  39. +6 −6 tests/event-driven.html
  40. +11 −11 tests/event-player.html
  41. +4 −4 tests/event-target-cascade.html
  42. +4 −4 tests/event-target-dispatching.html
  43. +4 −4 tests/event-target-native-event-propagation.html
  44. +4 −4 tests/event-target-paranoid.html
  45. +4 −4 tests/event-target.html
  46. +2 −2 tests/exceptions-custom.html
  47. +1 −1  tests/external/crash-safari.html
  48. +1 −1  tests/external/sm-jit-test.html
  49. +7 −7 tests/form.html
  50. +4 −4 tests/function-inherit.html
  51. +6 −6 tests/global-timer.html
  52. +2 −2 tests/goto.html
  53. +4 −4 tests/gridder.html
  54. +6 −6 tests/input-select-start-end.html
  55. +3 −3 tests/interpolate.html
  56. +2 −2 tests/json.html
  57. +7 −7 tests/kinematics.html
  58. +8 −8 tests/location-hash-anchor.html
  59. +8 −8 tests/location-hash.html
  60. +4 −4 tests/location-link-hash.html
  61. +2 −2 tests/manual-inherit.html
  62. +3 −3 tests/mixin.html
  63. +3 −3 tests/mvc.html
  64. +3 −3 tests/object-diff.html
  65. +6 −6 tests/onhashchange.html
  66. +8 −8 tests/onready.html
  67. +6 −6 tests/oops.html
  68. +1 −1  tests/pong.html
  69. +5 −5 tests/prototype-native.html
  70. +3 −3 tests/prototype.html
  71. +3 −3 tests/regexp-escape.html
  72. +2 −2 tests/regexp.html
  73. +5 −5 tests/request.html
  74. +5 −5 tests/require.html
  75. +5 −5 tests/script-onload.html
  76. +4 −4 tests/script-text.html
  77. +7 −7 tests/selectors.html
  78. +7 −7 tests/tab-switcher.html
  79. +5 −5 tests/template.html
  80. +2 −2 tests/tests-for-tests.html
  81. +1 −1  tests/tests.common.js
  82. +1 −1  tests/timers.html
  83. +3 −3 tests/tracker.html
  84. +4 −4 tests/url-encode.html
  85. +3 −3 tests/user-agent.html
  86. +4 −4 tests/visibility-frame.html
16 tests/animation.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Animation tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/modules/global-timer.js"></script>
- <script type="text/javascript" src="../src/modules/motion.js"></script>
- <script type="text/javascript" src="../src/modules/motion-types.js"></script>
- <script type="text/javascript" src="../src/modules/animation.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/modules/global-timer.js"></script>
+ <script src="../src/modules/motion.js"></script>
+ <script src="../src/modules/motion-types.js"></script>
+ <script src="../src/modules/animation.js"></script>
<style>
#test-node-1,
@@ -24,7 +24,7 @@
<div id="test-node-1"></div>
<div id="test-node-2"></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('node.animate', function (t)
8 tests/array-random.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Array random elements retrieving tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../src/core/prototype.js" type="text/javascript"></script>
- <script src="../src/modules/array-randomize.js" type="text/javascript"></script>
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/array-randomize.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('edge cases', function (t)
8 tests/array-randomize.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Array randomization tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../src/core/prototype.js" type="text/javascript"></script>
- <script src="../src/modules/array-randomize.js" type="text/javascript"></script>
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/array-randomize.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function factorial (n)
4 tests/base-types.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Base types tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('Array#sort()', function (t)
4 tests/benchmarks/array-concat.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Array#concat performance tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var w = 1000, h = 200, array2d = [], array1d = []
4 tests/benchmarks/array-sort.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Array#sort() tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var uniqness = 25
14 tests/benchmarks/boxer.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>benchmarks for Boxer</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../../src/core/prototype.js"></script>
- <script type="text/javascript" src="../../src/modules/element.js"></script>
- <script type="text/javascript" src="../../src/modules/boxer.js"></script>
+ <!--[if lte IE 7]><script src="../../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../../src/core/prototype.js"></script>
+ <script src="../../src/modules/element.js"></script>
+ <script src="../../src/modules/boxer.js"></script>
<style>
.container { position: absolute; left: 0px; top: 0px; width: 10px; height: 10px; }
@@ -20,7 +20,7 @@
<div id="holder"></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
4 tests/benchmarks/compile-time-arithmetics.html
View
@@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Compile-time arithmetics tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var count = 100000, checkSumm = 2430 * count
4 tests/benchmarks/cons-string-vs-array-join.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>ConsString versus Array#join()</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
// it's all about http://groups.google.com/group/v8-users/browse_thread/thread/fa6746b6fa2d4b2c#msg_13f5f3e44a1c3740
Tests.test(function (t)
{
8 tests/benchmarks/create-element.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>document.createElement() benchmark</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../../core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../../core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../../core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../../core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('call', function (t)
4 tests/benchmarks/custom-array.html
View
@@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Custom array class tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function SuperArray () {}
4 tests/benchmarks/document-fragment.html
View
@@ -3,7 +3,7 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>createDocumentFragment() appendChild() performance benchmark</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
<style>
#root-1, #root-2 { overflow: hidden; width: 250px; height: 250px; position: absolute; top: 0; background: #eee; }
#root-1 { left: 0px; }
@@ -14,7 +14,7 @@
<body>
<ul id="root-1"></ul>
<ul id="root-2"></ul>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
4 tests/benchmarks/eval.html
View
@@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Eval benchmark</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var small = 'if (!a) a = 321;',
6 tests/benchmarks/first-letter-search.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Best way to search smt. by letter</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../../src/modules/regexp-escape.js" type="text/javascript"></script>
+ <script src="../../src/modules/regexp-escape.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function bakeWords (e)
8 tests/benchmarks/gridder.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Gridder benchmark</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../../src/modules/gridder.js" type="text/javascript"></script>
- <script src="../../src/core/prototype.js" type="text/javascript"></script>
+ <script src="../../src/modules/gridder.js"></script>
+ <script src="../../src/core/prototype.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('reflow', function (t)
4 tests/benchmarks/in-vs-get-property-extended.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Extended testing of the in operator performance</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('integer keys in array of …', function (t)
4 tests/benchmarks/in-vs-get-property.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Testing the in operator performance</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('integer keys in array of booleans', function (t)
4 tests/benchmarks/multiple-sort.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Multiple sort tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var messed =
6 tests/benchmarks/object-is-empty.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>How slow a check for emptyness can be</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../../src/modules/json.js" type="text/javascript"></script>
+ <script src="../../src/modules/json.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var hash = {}
4 tests/benchmarks/object-proto.html
View
@@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>object.__poto__ tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function A () {}
4 tests/benchmarks/private-variables.html
View
@@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Private class variables tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
// first, the A
4 tests/benchmarks/reorder-visibility-test.html
View
@@ -3,7 +3,7 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Reorder visibility tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
@@ -16,7 +16,7 @@
<ul id="test-5" style="position: absolute"></ul>
<ul id="test-6"></ul>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var globalTime = new Date()
4 tests/benchmarks/search-hash-vs-array.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>How slow an access to the giant hash table can be</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function run (t, values, keys)
4 tests/benchmarks/sign-check.html
View
@@ -3,11 +3,11 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Sign check benchmark</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('float', function (t)
2  tests/benchmarks/tests.common.js
View
@@ -1,6 +1,6 @@
;(function(){
-function script (src) { document.write('<script src="' + src + '" type="text/javascript"></script>') }
+function script (src) { document.write('<script src="' + src + '"></script>') }
function style (src) { document.write('<link rel="stylesheet" href="' + src + '"/>') }
script('../../src/modules/cascade.js')
14 tests/boxer.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>tests for Boxer</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/element.js"></script>
- <script type="text/javascript" src="../src/modules/boxer.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/element.js"></script>
+ <script src="../src/modules/boxer.js"></script>
<style>
#different-nodes { position: absolute; left: 10px; top: 20px; width: 100px; height: 100px; }
@@ -26,7 +26,7 @@
<div id="different-nodes"><div class="a"></div><div class="b"></div></div>
<div id="same-nodes"><div class="a"></div><div class="b"></div></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
4 tests/cascade.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Cascade tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
Cascade.prototype.holder = window
18 tests/child-indexed-path.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Element#childIndexedPath() and Element#getChildByIndexedPath() tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/selectors.js"></script>
- <script type="text/javascript" src="../src/modules/cosy.js"></script>
- <script type="text/javascript" src="../src/modules/child-indexed-path.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/selectors.js"></script>
+ <script src="../src/modules/cosy.js"></script>
+ <script src="../src/modules/child-indexed-path.js"></script>
</head>
<body>
@@ -19,7 +19,7 @@
<div id="node-2">text <b id="bold">bold <i id="italic">bold italic</i> <img id="img"/> bold</b> text</div>
<div id="messy-node">
- <script type="text/javascript" id="messy-node-0">document.write('<p id="messy-node-1"></p>')</script>
+ <script id="messy-node-0">document.write('<p id="messy-node-1"></p>')</script>
text &amp; text
<!-- comment -->
<div id="messy-node-2"></div>
@@ -28,7 +28,7 @@
<div id="messy-node-3"></div>
</div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('childIndexedPath()', function (t)
8 tests/class-name.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Element#className manipulation tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../src/core/prototype.js" type="text/javascript"></script>
- <script src="../src/modules/element.js" type="text/javascript"></script>
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/element.js"></script>
</head>
<body>
<div id="test1"></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var test1 = document.getElementById('test1')
22 tests/client-storage.html
View
@@ -3,22 +3,22 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>tests for ClientStorage</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/client-storage.js"></script>
- <script type="text/javascript" src="../src/modules/client-storage/local-storage.js"></script>
- <script type="text/javascript" src="../src/modules/client-storage/global-storage.js"></script>
- <script type="text/javascript" src="../src/modules/client-storage/user-data.js"></script>
- <script type="text/javascript" src="../src/modules/client-storage/flash-9.js"></script>
- <script type="text/javascript" src="../src/modules/client-storage/window-name.js"></script>
- <script type="text/javascript" src="../src/modules/url-encode.js"></script>
- <script type="text/javascript" src="../src/modules/window-name.js"></script>
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/client-storage.js"></script>
+ <script src="../src/modules/client-storage/local-storage.js"></script>
+ <script src="../src/modules/client-storage/global-storage.js"></script>
+ <script src="../src/modules/client-storage/user-data.js"></script>
+ <script src="../src/modules/client-storage/flash-9.js"></script>
+ <script src="../src/modules/client-storage/window-name.js"></script>
+ <script src="../src/modules/url-encode.js"></script>
+ <script src="../src/modules/window-name.js"></script>
<style>.client-storage, .storage-helper { visibility: hidden; width: 1px; height: 1px; position: absolute; top: -100px; }</style>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals([/^__flash_/, /^client-storage-/, /^helper-/, 'name'])
Tests.test(function (t)
{
20 tests/client-storage/client-storage-helper.html
View
@@ -3,20 +3,20 @@
<head>
<title>helper for ClientStorage</title>
- <script type="text/javascript" src="../../src/core/prototype.js"></script>
- <script type="text/javascript" src="../../src/modules/client-storage.js"></script>
- <script type="text/javascript" src="../../src/modules/client-storage/local-storage.js"></script>
- <script type="text/javascript" src="../../src/modules/client-storage/global-storage.js"></script>
- <script type="text/javascript" src="../../src/modules/client-storage/user-data.js"></script>
- <script type="text/javascript" src="../../src/modules/client-storage/flash-9.js"></script>
- <script type="text/javascript" src="../../src/modules/client-storage/window-name.js"></script>
- <script type="text/javascript" src="../../src/modules/url-encode.js"></script>
- <script type="text/javascript" src="../../src/modules/window-name.js"></script>
+ <script src="../../src/core/prototype.js"></script>
+ <script src="../../src/modules/client-storage.js"></script>
+ <script src="../../src/modules/client-storage/local-storage.js"></script>
+ <script src="../../src/modules/client-storage/global-storage.js"></script>
+ <script src="../../src/modules/client-storage/user-data.js"></script>
+ <script src="../../src/modules/client-storage/flash-9.js"></script>
+ <script src="../../src/modules/client-storage/window-name.js"></script>
+ <script src="../../src/modules/url-encode.js"></script>
+ <script src="../../src/modules/window-name.js"></script>
<style>.client-storage { visibility: hidden; width: 1px; height: 1px; position: absolute; top: -100px; }</style>
</head>
<body>
-<script type="text/javascript">
+<script>
;(function(){
var parts = location.search.substr(1).split(':')
14 tests/cloner.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Cloner tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/child-indexed-path.js"></script>
- <script type="text/javascript" src="../src/modules/cloner.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/child-indexed-path.js"></script>
+ <script src="../src/modules/cloner.js"></script>
</head>
<body>
@@ -33,7 +33,7 @@
<li class="item3">3</li>
</ul>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
8 tests/custom-event.html
View
@@ -4,10 +4,10 @@
<meta name="viewport" content="width=device-width"/>
<title>Custom event tests</title>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
@@ -17,7 +17,7 @@
<button id="test-node-4">test node 4</button>
<button id="test-node-5">test node 5</button>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('IE only tests', function (t)
2  tests/demo/infinite-scroller.html
View
@@ -91,7 +91,7 @@
<div id="recorder-cursor"></div>
-<script type="text/javascript">
+<script>
function start ()
{
var node = document.getElementById('test-node-1')
12 tests/demo/input-select-start-end.html
View
@@ -5,14 +5,14 @@
<title>Demo for HTMLInputElement selectStart/selectEnd</title>
<!--[if lte IE 7]>
- <script type="text/javascript" src="../../src/core/fixes/trident3.js"></script>
- <script type="text/javascript" src="../../src/core/fixes/trident3-input-selection.js"></script>
+ <script src="../../src/core/fixes/trident3.js"></script>
+ <script src="../../src/core/fixes/trident3-input-selection.js"></script>
<![endif]-->
<!--[if IE 8]>
- <script type="text/javascript" src="../../src/core/fixes/trident4.js"></script>
- <script type="text/javascript" src="../../src/core/fixes/trident4-input-selection.js"></script>
+ <script src="../../src/core/fixes/trident4.js"></script>
+ <script src="../../src/core/fixes/trident4-input-selection.js"></script>
<![endif]-->
- <script type="text/javascript" src="../../src/core/fixes/keydown-to-keypress.js"></script>
+ <script src="../../src/core/fixes/keydown-to-keypress.js"></script>
<style>
body { padding: 20px; }
@@ -26,7 +26,7 @@
<body>
<div><input type="text" id="input" value="Viva the Web!"/></div>
<div id="output"><span id="before"> </span><span id="selection"> </span><span id="after"> </span></div>
-<script type="text/javascript">
+<script>
function $ (id) { return document.getElementById(id) }
function loaded (e)
24 tests/demo/visibility-frame.html
View
@@ -4,18 +4,18 @@
<meta name="viewport" content="width=device-width"/>
<title>Visibility frame demo</title>
- <!--[if lte IE 7]><script type="text/javascript" src="../../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../../src/core/fixes/keydown-to-keypress.js"></script>
- <script src="../../src/core/prototype.js" type="text/javascript"></script>
- <script src="../../src/modules/log.js" type="text/javascript"></script>
- <script src="../../src/modules/cosy.js" type="text/javascript"></script>
- <script src="../../src/modules/element.js" type="text/javascript"></script>
+ <!--[if lte IE 7]><script src="../../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../../src/core/fixes/keydown-to-keypress.js"></script>
+ <script src="../../src/core/prototype.js"></script>
+ <script src="../../src/modules/log.js"></script>
+ <script src="../../src/modules/cosy.js"></script>
+ <script src="../../src/modules/element.js"></script>
- <script src="../../src/modules/gridder.js" type="text/javascript"></script>
- <script src="../../src/modules/visibility-frame.js" type="text/javascript"></script>
- <script src="../../src/modules/event-driven.js" type="text/javascript"></script>
- <script src="../../src/modules/moveable.js" type="text/javascript"></script>
+ <script src="../../src/modules/gridder.js"></script>
+ <script src="../../src/modules/visibility-frame.js"></script>
+ <script src="../../src/modules/event-driven.js"></script>
+ <script src="../../src/modules/moveable.js"></script>
<style>
html, body { margin: 0; padding: 0; }
@@ -41,7 +41,7 @@
</div>
<div id="boxes"></div>
<div id="frame">dragg me</div>
-<script type="text/javascript">
+<script>
$.onload(function ()
{
var count = parseInt($('count').value), transparent = $('transparency').checked
12 tests/element-offset-position.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Element#offsetPosition() tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/element.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/element.js"></script>
<style>
html.relative { position: relative; }
@@ -60,7 +60,7 @@
<div id="self-rooted"><div class="spacer"></div></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
8 tests/event-classes.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Event classes tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('deleted preventDefault()', function (t)
12 tests/event-driven.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>EventDriven tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/event-driven.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/event-driven.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var exception = null,
22 tests/event-player.html
View
@@ -3,20 +3,20 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Event player tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/child-indexed-path.js"></script>
- <script type="text/javascript" src="../src/modules/event-player.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/child-indexed-path.js"></script>
+ <script src="../src/modules/event-player.js"></script>
<!--
- <script type="text/javascript" src="../src/modules/json.js"></script>
- <script type="text/javascript" src="../src/modules/event-recorder.js"></script>
- <script type="text/javascript" src="../src/widgets/recorder.js"></script>
+ <script src="../src/modules/json.js"></script>
+ <script src="../src/modules/event-recorder.js"></script>
+ <script src="../src/widgets/recorder.js"></script>
-->
- <script type="text/javascript" src="event-player-script.json"></script>
+ <script src="event-player-script.json"></script>
<style>
.box { position: absolute; z-index: 10; left: 75px; width: 75px; height: 50px; color: #fff; text-align: center; line-height: 50px; }
@@ -40,7 +40,7 @@
<form id="submit" class="box"><button type="submit">submit</button></form>
<div id="keyboard-box" class="box"><input id="keyboard" type="text" value=""/></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('simple events', function (t)
8 tests/event-target-cascade.html
View
@@ -3,16 +3,16 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>EventTarget cascade (nested) dispatching tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
<div id="test-node-1">test node 1</div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
8 tests/event-target-dispatching.html
View
@@ -3,16 +3,16 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>EventTarget dispatching tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
<div><div id="test-node-1">test node 1</div></div>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals(['__tests_objectName'])
Tests.test(function (t)
{
8 tests/event-target-native-event-propagation.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Native event propagation tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
<script>window.hasNativeDOMEvents = !!window.addEventListener</script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
@@ -17,7 +17,7 @@
<input id="node-5"/>
<div id="spacer" style="height:20000px"></div>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals(['__tests_objectName', 'onscroll', 'veryGlobalCounter1'])
Tests.test(function (t)
{
8 tests/event-target-paranoid.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Paranoid EventTarget tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('presence', function (t)
8 tests/event-target.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Partial EventTarget tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
@@ -14,7 +14,7 @@
<div><button id="test-node-2">test node 2</button></div>
<div><script id="test-node-3"></script></div>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
function $ (id) { return document.getElementById(id) }
4 tests/exceptions-custom.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for custom exceptions</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var list =
2  tests/external/crash-safari.html
View
@@ -5,7 +5,7 @@
</head>
<body>
-<script type="text/javascript">
+<script>
function blablabla (m)
{
[].push()
2  tests/external/sm-jit-test.html
View
@@ -6,7 +6,7 @@
</head>
<body>
-<script type="text/javascript">
+<script>
;(function(){
function calculate (arr)
{
14 tests/form.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Form tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/modules/selectors.js"></script>
- <script type="text/javascript" src="../src/modules/cosy.js"></script>
- <script type="text/javascript" src="../src/modules/form-helper.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/modules/selectors.js"></script>
+ <script src="../src/modules/cosy.js"></script>
+ <script src="../src/modules/form-helper.js"></script>
</head>
<body>
@@ -68,7 +68,7 @@
<input type="text" name="unvalued"/>
</form>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var toHash = FormHelper.toHash
8 tests/function-inherit.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests just another inheritance implementation</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/function-inherit.js"></script>
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/function-inherit.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('inherit', function (t)
12 tests/global-timer.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for GlobalTimer</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/global-timer.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/global-timer.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var Me = GlobalTimer
4 tests/goto.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>GOTO tests (not for the evil)</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.log('This test had been written to check if its possibile to emulate some kind of “goto” in JS. It would be useful in the yarv2js project.')
8 tests/gridder.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Gridder tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script src="../src/modules/gridder.js" type="text/javascript"></script>
- <script src="../src/core/prototype.js" type="text/javascript"></script>
+ <script src="../src/modules/gridder.js"></script>
+ <script src="../src/core/prototype.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('getBoxesPrecise()', function (t)
12 tests/input-select-start-end.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for HTMLInputElement selectStart/selectEnd</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
<!--[if lte IE 7]>
- <script type="text/javascript" src="../src/core/fixes/trident3.js"></script>
- <script type="text/javascript" src="../src/core/fixes/trident3-input-selection.js"></script>
+ <script src="../src/core/fixes/trident3.js"></script>
+ <script src="../src/core/fixes/trident3-input-selection.js"></script>
<![endif]-->
<!--[if IE 8]>
- <script type="text/javascript" src="../src/core/fixes/trident4.js"></script>
- <script type="text/javascript" src="../src/core/fixes/trident4-input-selection.js"></script>
+ <script src="../src/core/fixes/trident4.js"></script>
+ <script src="../src/core/fixes/trident4-input-selection.js"></script>
<![endif]-->
</head>
<body>
@@ -21,7 +21,7 @@
<input type="text" id="test-2"/>
<input type="text" id="test-3"/>
<input type="text" id="test-4"/>
-<script type="text/javascript">
+<script>
function $ (id) { return document.getElementById(id) }
var selection
6 tests/interpolate.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>interpolate tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/modules/interpolate.js"></script>
+ <script src="../src/modules/interpolate.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var ABC = {a:'A',b:'B',c:'C'},
4 tests/json.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Some tests for JSON</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
// {abc: 123, abc: [1, "two", 0.3e-0]}
14 tests/kinematics.html
View
@@ -3,16 +3,16 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Simple kinematics</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/global-timer.js"></script>
- <script type="text/javascript" src="../src/modules/kinematics.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/global-timer.js"></script>
+ <script src="../src/modules/kinematics.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var fps = Kinematics.fps
16 tests/location-hash-anchor.html
View
@@ -3,17 +3,17 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for LocationHash</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/core/fixes/onhashchange.js"></script>
- <script type="text/javascript" src="../src/modules/event-driven.js"></script>
- <script type="text/javascript" src="../src/modules/location-hash.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/core/fixes/onhashchange.js"></script>
+ <script src="../src/modules/event-driven.js"></script>
+ <script src="../src/modules/location-hash.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
var a = document.createElement('a')
16 tests/location-hash.html
View
@@ -3,17 +3,17 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for LocationHash</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/core/fixes/onhashchange.js"></script>
- <script type="text/javascript" src="../src/modules/event-driven.js"></script>
- <script type="text/javascript" src="../src/modules/location-hash.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/core/fixes/onhashchange.js"></script>
+ <script src="../src/modules/event-driven.js"></script>
+ <script src="../src/modules/location-hash.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.parallel(1)
8 tests/location-link-hash.html
View
@@ -5,10 +5,10 @@
<title>Tests for link hash encoding</title>
<script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/core/fixes/onhashchange.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/core/fixes/onhashchange.js"></script>
<style>
#box { position: absolute; top: 75px; left: 25px; z-index: 200; font-size: 15px; }
4 tests/manual-inherit.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for plain in-code inheritance</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('live', function (t)
6 tests/mixin.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Mixin tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/core/prototype.js"></script>
+ <script src="../src/core/prototype.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('mixing', function (t)
6 tests/mvc.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>MVC tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/modules/mvc.js"></script>
+ <script src="../src/modules/mvc.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('create()', function (t)
6 tests/object-diff.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Object.diff() tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/modules/object-diff.js"></script>
+ <script src="../src/modules/object-diff.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('simple', function (t)
12 tests/onhashchange.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>location.hash change event (hashchange) tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/core/fixes/onhashchange.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/core/fixes/onhashchange.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.parallel(1)
16 tests/onready.html
View
@@ -3,17 +3,17 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>On Ready tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/cosy.js"></script>
- <script type="text/javascript" src="../src/modules/onready.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/cosy.js"></script>
+ <script src="../src/modules/onready.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
var loadOrder = [], onloadTime, onreadyTime
@@ -41,7 +41,7 @@
</script>
-<script type="text/javascript">
+<script>
loadOrder.push('script2')
</script>
12 tests/oops.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Oops tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/fixes/onerror.js"></script>
- <script type="text/javascript" src="../src/modules/oops.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/fixes/onerror.js"></script>
+ <script src="../src/modules/oops.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals(['Tracker', 'onerror'])
Tests.test(function (t)
{
2  tests/pong.html
View
@@ -4,7 +4,7 @@
<title>Pressing “Back” button</title>
</head>
<body>
-<script type="text/javascript">
+<script>
;(function(){
var min = 250
10 tests/prototype-native.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for manipulations with a prototype</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('A', function (t)
6 tests/prototype.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for some of the core prototype extensions</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/core/prototype.js"></script>
+ <script src="../src/core/prototype.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('String#capitalize()', function (t)
6 tests/regexp-escape.html
View
@@ -3,12 +3,12 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>RegExp.escape() tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <script type="text/javascript" src="../src/modules/regexp-escape.js"></script>
+ <script src="../src/modules/regexp-escape.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('simple', function (t)
4 tests/regexp.html
View
@@ -3,10 +3,10 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>RegExp tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('uncatching groups', function (t)
10 tests/request.html
View
@@ -3,15 +3,15 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Request tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <script type="text/javascript" src="../src/modules/url-encode.js"></script>
- <script type="text/javascript" src="../src/modules/request.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <script src="../src/modules/url-encode.js"></script>
+ <script src="../src/modules/request.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('sync GET', function (t)
10 tests/require.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for require()</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/modules/require.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/modules/require.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals(["veryGlobalCounter1", "veryGlobalCounter3", "veryGlobalCounter2"])
Tests.test(function (t)
{
10 tests/script-onload.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for script onload event</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/modules/require.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/modules/require.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals(["veryGlobalVaiable"])
Tests.test(function (t)
{
8 tests/script-text.html
View
@@ -3,13 +3,13 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Tests for script.text property</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.ignoreGlobals(["globalVariable"])
Tests.test(function (t)
{
14 tests/selectors.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Looking for selectors support</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3-selectors.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3-selectors.js"></script><![endif]-->
<!--[if lte IE 8]><script>document.createElement('blablabla'); document.createElement('ololo')</script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/fixes/dom-level2-selectors.js"></script>
- <script type="text/javascript" src="../src/core/prototype.js"></script>
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/fixes/dom-level2-selectors.js"></script>
+ <script src="../src/core/prototype.js"></script>
</head>
<body id="body1">
<blablabla class="blablabla-class" id="blablabla1"></blablabla>
@@ -35,7 +35,7 @@
<dl id="dl1"></dl>
</p>
</div>
-<script type="text/javascript">
+<script>
function $ (id) { return document.getElementById(id) }
function toArray (list) { var arr = []; for (var i = 0, il = list.length; i < il; i++) arr[i] = list[i]; return arr }
Tests.test(function (t)
14 tests/tab-switcher.html
View
@@ -3,17 +3,17 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>TabSwitcher tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
- <script type="text/javascript" src="../src/modules/event-driven.js"></script>
- <script type="text/javascript" src="../src/widgets/tab-switcher.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
+ <script src="../src/modules/event-driven.js"></script>
+ <script src="../src/widgets/tab-switcher.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('simple creation', function (t)
10 tests/template.html
View
@@ -3,14 +3,14 @@
<head>
<meta name="viewport" content="width=device-width"/>
<title>Untitled tests</title>
- <script src="tests.common.js" type="text/javascript"></script>
+ <script src="tests.common.js"></script>
- <!--[if lte IE 7]><script type="text/javascript" src="../src/core/fixes/trident3.js"></script><![endif]-->
- <!--[if IE 8]><script type="text/javascript" src="../src/core/fixes/trident4.js"></script><![endif]-->
- <script type="text/javascript" src="../src/core/prototype.js"></script>
+ <!--[if lte IE 7]><script src="../src/core/fixes/trident3.js"></script><![endif]-->
+ <!--[if IE 8]><script src="../src/core/fixes/trident4.js"></script><![endif]-->
+ <script src="../src/core/prototype.js"></script>
</head>
<body>
-<script type="text/javascript">
+<script>
Tests.test(function (t)
{
t.test('untitled', function (t)