Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

correct some mixed tab vs whitespace checkins

  • Loading branch information...
commit 7d5e9a942aa8728d7c6f988370c90b5ab5cc40dc 1 parent 13e89e2
@robrobbins robrobbins authored
View
2  base/base.js
@@ -19,7 +19,7 @@ sudo.Base = function() {
sudo.Base.prototype.addDelegate = function addDelegate(del) {
del.delegator = this;
this.delegates.push(del);
- if('addedAsDelegate' in del) del.addedAsDelegate(this);
+ if('addedAsDelegate' in del) del.addedAsDelegate(this);
return this;
};
// ###base
View
10 base/spec/base.spec.js
@@ -6,9 +6,9 @@ describe('Sudo Base Object', function() {
d.burgle = function() {
return this.role;
};
- d.addedAsDelegate = function() {
- this.added = true;
- };
+ d.addedAsDelegate = function() {
+ this.added = true;
+ };
});
it('is an instance of the Base class', function() {
@@ -29,10 +29,10 @@ describe('Sudo Base Object', function() {
});
it('calls addedAsDelegate if present', function() {
- var spy = spyOn(d, 'addedAsDelegate').andCallThrough();
+ var spy = spyOn(d, 'addedAsDelegate').andCallThrough();
b.addDelegate(d);
expect(spy).toHaveBeenCalled();
- expect(d.added).toBe(true);
+ expect(d.added).toBe(true);
});
it('can fetch a delegate by role', function() {
View
2  build/debug/sudo-x.js
@@ -136,7 +136,7 @@ sudo.Base = function() {
sudo.Base.prototype.addDelegate = function addDelegate(del) {
del.delegator = this;
this.delegates.push(del);
- if('addedAsDelegate' in del) del.addedAsDelegate(this);
+ if('addedAsDelegate' in del) del.addedAsDelegate(this);
return this;
};
// ###base
View
2  build/debug/sudo.js
@@ -136,7 +136,7 @@ sudo.Base = function() {
sudo.Base.prototype.addDelegate = function addDelegate(del) {
del.delegator = this;
this.delegates.push(del);
- if('addedAsDelegate' in del) del.addedAsDelegate(this);
+ if('addedAsDelegate' in del) del.addedAsDelegate(this);
return this;
};
// ###base
Please sign in to comment.
Something went wrong with that request. Please try again.