Permalink
Browse files

Fixing test script paths, and fixing a super() bug causing Command to…

… break.
  • Loading branch information...
1 parent d9e59e3 commit b7c8fd6b995d2441a8da86eb87316fc3071e7c33 @jcoglan jcoglan committed Aug 12, 2008
Showing with 8 additions and 7 deletions.
  1. +2 −1 source/class.js
  2. +2 −2 test/benchmarks.html
  3. +2 −2 test/command_test.html
  4. +2 −2 test/test.html
View
@@ -193,10 +193,11 @@ JS.extend(JS.Module.prototype, {
};
},
- chain: JS.mask( function(self, name, params) {
+ chain: JS.mask( function(self, name, args) {
var callees = this.lookup(name),
stackIndex = callees.length,
currentSuper = self.callSuper,
+ params = JS.array(args),
result;
self.callSuper = function() {
View
@@ -7,8 +7,8 @@
<title>JS.Class tests</title>
<script src="prototype.js" type="text/javascript" charset="utf-8"></script>
<script src="unittest.js" type="text/javascript" charset="utf-8"></script>
- <script src="../build/class-min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../build/patterns-min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../build/min/class.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../build/min/patterns.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="test.css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" charset="utf-8">
View
@@ -7,8 +7,8 @@
<title>JS.Class tests: Command</title>
<script src="prototype.js" type="text/javascript" charset="utf-8"></script>
<script src="unittest.js" type="text/javascript" charset="utf-8"></script>
- <script src="../build/class-min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../build/patterns-min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../build/min/class.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../build/min/patterns.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="test.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
View
@@ -45,8 +45,8 @@
<script type="text/javascript" charset="utf-8">
timeA = Number(new Date);
</script>
- <script src="../build/class-min.js" type="text/javascript" charset="utf-8"></script>
- <script src="../build/patterns-min.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../build/min/class.js" type="text/javascript" charset="utf-8"></script>
+ <script src="../build/min/patterns.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
timeB = Number(new Date);
window.console && console.log((timeB - timeA) / 1000);

0 comments on commit b7c8fd6

Please sign in to comment.