Skip to content
This repository
Browse code

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

… break.
  • Loading branch information...
commit b7c8fd6b995d2441a8da86eb87316fc3071e7c33 1 parent d9e59e3
James Coglan jcoglan authored
3  source/class.js
@@ -193,10 +193,11 @@ JS.extend(JS.Module.prototype, {
193 193 };
194 194 },
195 195
196   - chain: JS.mask( function(self, name, params) {
  196 + chain: JS.mask( function(self, name, args) {
197 197 var callees = this.lookup(name),
198 198 stackIndex = callees.length,
199 199 currentSuper = self.callSuper,
  200 + params = JS.array(args),
200 201 result;
201 202
202 203 self.callSuper = function() {
4 test/benchmarks.html
@@ -7,8 +7,8 @@
7 7 <title>JS.Class tests</title>
8 8 <script src="prototype.js" type="text/javascript" charset="utf-8"></script>
9 9 <script src="unittest.js" type="text/javascript" charset="utf-8"></script>
10   - <script src="../build/class-min.js" type="text/javascript" charset="utf-8"></script>
11   - <script src="../build/patterns-min.js" type="text/javascript" charset="utf-8"></script>
  10 + <script src="../build/min/class.js" type="text/javascript" charset="utf-8"></script>
  11 + <script src="../build/min/patterns.js" type="text/javascript" charset="utf-8"></script>
12 12 <link rel="stylesheet" href="test.css" type="text/css" media="screen" title="no title" charset="utf-8">
13 13 <script type="text/javascript" charset="utf-8">
14 14
4 test/command_test.html
@@ -7,8 +7,8 @@
7 7 <title>JS.Class tests: Command</title>
8 8 <script src="prototype.js" type="text/javascript" charset="utf-8"></script>
9 9 <script src="unittest.js" type="text/javascript" charset="utf-8"></script>
10   - <script src="../build/class-min.js" type="text/javascript" charset="utf-8"></script>
11   - <script src="../build/patterns-min.js" type="text/javascript" charset="utf-8"></script>
  10 + <script src="../build/min/class.js" type="text/javascript" charset="utf-8"></script>
  11 + <script src="../build/min/patterns.js" type="text/javascript" charset="utf-8"></script>
12 12 <link rel="stylesheet" href="test.css" type="text/css" media="screen" title="no title" charset="utf-8">
13 13 </head>
14 14 <body>
4 test/test.html
@@ -45,8 +45,8 @@
45 45 <script type="text/javascript" charset="utf-8">
46 46 timeA = Number(new Date);
47 47 </script>
48   - <script src="../build/class-min.js" type="text/javascript" charset="utf-8"></script>
49   - <script src="../build/patterns-min.js" type="text/javascript" charset="utf-8"></script>
  48 + <script src="../build/min/class.js" type="text/javascript" charset="utf-8"></script>
  49 + <script src="../build/min/patterns.js" type="text/javascript" charset="utf-8"></script>
50 50 <script type="text/javascript" charset="utf-8">
51 51 timeB = Number(new Date);
52 52 window.console && console.log((timeB - timeA) / 1000);

0 comments on commit b7c8fd6

Please sign in to comment.
Something went wrong with that request. Please try again.