Permalink
Browse files

fixup code comments - amends 87d4f96

  • Loading branch information...
1 parent f3bde1f commit 0d686bb8d84515e0682b5b5550177c4a3f75a812 Dane Springmeyer committed Jan 6, 2013
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/carto/tree/call.js
  2. +1 −1 test/filter.test.js
View
@@ -10,10 +10,10 @@ tree.Call.prototype = {
is: 'call',
// When evuating a function call,
// we either find the function in `tree.functions` [1],
- // in which case we call it, passing the evuated arguments,
+ // in which case we call it, passing the evaluated arguments,
// or we simply print it out as it appeared originally [2].
// The *functions.js* file contains the built-in functions.
- // The reason why we evuate the arguments, is in the case where
+ // The reason why we evaluate the arguments, is in the case where
// we try to pass a variable to a function, like: `saturate(@color)`.
// The function should receive the value, not the variable.
'ev': function(env) {
@@ -90,7 +90,7 @@ tree.Call.prototype = {
value: 'undefined'
};
} else {
- // Save the evuated versions of arguments
+ // Save the evaluated versions of arguments
this.args = args;
return this;
}
View
@@ -10,7 +10,7 @@ describe('Field', function() {
var f = new tree.Filter(new tree.Field('foo'), '=', new tree.Dimension(1));
assert.ok(f);
});
- it('can be evuated', function() {
+ it('can be evaluated', function() {
var f = new tree.Filter(new tree.Field('foo'), '=', new tree.Dimension(1));
f.ev({});
assert.ok(f);

0 comments on commit 0d686bb

Please sign in to comment.