Skip to content

Commit

Permalink
[#702] Lint and whitespace cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnglover authored and amercader committed Apr 17, 2013
1 parent 01fd935 commit e62377d
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 103 deletions.
Expand Up @@ -55,8 +55,8 @@ my.Dataset = Backbone.Model.extend({
if (this.backend !== recline.Backend.Memory) {
this.backend.fetch(this.toJSON())
.done(handleResults)
.fail(function(arguments) {
dfd.reject(arguments);
.fail(function(args) {
dfd.reject(args);
});
} else {
// special case where we have been given data directly
Expand All @@ -79,8 +79,8 @@ my.Dataset = Backbone.Model.extend({
.done(function() {
dfd.resolve(self);
})
.fail(function(arguments) {
dfd.reject(arguments);
.fail(function(args) {
dfd.reject(args);
});
}

Expand Down Expand Up @@ -198,9 +198,9 @@ my.Dataset = Backbone.Model.extend({
self.trigger('query:done');
dfd.resolve(self.records);
})
.fail(function(arguments) {
self.trigger('query:fail', arguments);
dfd.reject(arguments);
.fail(function(args) {
self.trigger('query:fail', args);
dfd.reject(args);
});
return dfd.promise();
},
Expand Down Expand Up @@ -450,7 +450,7 @@ my.Field = Backbone.Model.extend({
if (val && typeof val === 'string') {
val = val.replace(/(https?:\/\/[^ ]+)/g, '<a href="$1">$1</a>');
}
return val
return val;
}
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e62377d

Please sign in to comment.