Permalink
Browse files

Fix some free variable assignment warnings on Ringo.

  • Loading branch information...
1 parent f309952 commit a760eca9014a080ff8cd09f2d33480f2e88b2ab7 @jcoglan committed Jan 2, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/runner.js
  2. +1 −1 test/specs/test/mocking_spec.js
View
2 test/runner.js
@@ -1,4 +1,4 @@
-if (typeof CWD === 'undefined') CWD = '.'
+if (typeof CWD === 'undefined') this.CWD = '.'
JS.Packages(function() { with(this) {
autoload(/^(.*)Spec$/, {from: CWD + '/test/specs', require: 'JS.$1'})
View
2 test/specs/test/mocking_spec.js
@@ -109,7 +109,7 @@ JS.ENV.Test.MockingSpec = JS.Test.describe(JS.Test.Mocking, function() {
})
it("allows sequences of yield values", function() {
- var a, c
+ var a, b
object.getName(function() { a = JS.array(arguments) })
object.getName(function() { b = JS.array(arguments) })

0 comments on commit a760eca

Please sign in to comment.