Skip to content

Commit

Permalink
adjusting spacing to fall in line with the jQ style guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Jan 28, 2012
1 parent ea9aecb commit 12d086c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions collections/tagsClient.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function (collections, clientPaginator, model) {
(function ( collections, clientPaginator, model ) {

collections.TagsClient = Backbone.Collection.extend({
model : model,
Expand All @@ -25,7 +25,7 @@
return $.ajax(params);
},

parse : function (response) {
parse : function ( response ) {
// Be sure to change this based on how your results
// are structured
var tags = response.d.results;
Expand All @@ -35,8 +35,8 @@

});

_.extend(collections.TagsClient.prototype, clientPaginator);
_.extend( collections.TagsClient.prototype, clientPaginator );

})(App.collections, App.mixins.clientPaginator, App.models.Tag);
})( App.collections , App.mixins.clientPaginator , App.models.Tag );


8 changes: 4 additions & 4 deletions collections/tagsServer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
(function (collections, serverPaginator, model) {
(function ( collections, serverPaginator, model ) {

collections.TagsServer = Backbone.Collection.extend({
model : model,


url: 'http://odata.netflix.com/v2/Catalog/Titles?&',

sync : function (method, model, options) {
sync : function ( method, model, options ) {

var params = _.extend({
type : 'GET',
Expand All @@ -30,9 +30,9 @@

});

_.extend(collections.TagsServer.prototype, serverPaginator);
_.extend( collections.TagsServer.prototype, serverPaginator );


})(App.collections, App.mixins.serverPaginator, App.models.Tag);
})( App.collections, App.mixins.serverPaginator, App.models.Tag );


0 comments on commit 12d086c

Please sign in to comment.