Skip to content

Commit c947cc0

Browse files
author
Zeno Rocha
committed
Source formatting #30
1 parent 8cf9370 commit c947cc0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/jquery.github.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Github.prototype.init = function () {
8585
self.applyTemplate( JSON.parse( cached ) );
8686
return;
8787
}
88-
88+
8989
self.requestData( self.repo );
9090
};
9191

@@ -110,13 +110,13 @@ Github.prototype.requestData = function ( repo ) {
110110
dataType: "jsonp",
111111
success: function( results ) {
112112
var result_data = results.data,
113-
isFailling = results.meta.status >= 400 && result_data.message;
114-
113+
isFailling = results.meta.status >= 400 && result_data.message;
114+
115115
if ( isFailling ) {
116116
self.handleErrorRequest( result_data );
117117
return;
118118
}
119-
119+
120120
self.handleSuccessfulRequest( result_data );
121121
}
122122
});
@@ -155,7 +155,7 @@ Github.prototype.getCache = function() {
155155
// Apply results to HTML template
156156
Github.prototype.applyTemplate = function ( repo ) {
157157
var githubRepo = new GithubRepo( repo ),
158-
$widget = githubRepo.toHTML();
158+
$widget = githubRepo.toHTML();
159159

160160
$widget.appendTo( this.$container );
161161
};

0 commit comments

Comments
 (0)