Permalink
Browse files

better support of older browsers

  • Loading branch information...
1 parent a15c44a commit 673f19418d704dc57e8bee3e2d40828ea39dc322 @drewfish drewfish committed Dec 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/base/mojito-test.js
@@ -233,7 +233,7 @@ YUI.add('mojito-test-extra', function(Y, NAME) {
if (Y.Lang.isObject(x)) {
A.isObject(x, path + ': ' + (msg || 'first arg should be an object'));
A.isObject(y, path + ': ' + (msg || 'second arg should be an object'));
- A.areSame(Object.keys(x).length, Object.keys(y).length, path + ': ' + (msg || 'object keys are different lengths'));
+ A.areSame(Y.Object.keys(x).length, Y.Object.keys(y).length, path + ': ' + (msg || 'object keys are different lengths'));
for (i in x) {
if (x.hasOwnProperty(i)) {
Y.TEST_CMP(x[i], y[i], msg, path + '{' + i + '}');

0 comments on commit 673f194

Please sign in to comment.