File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ Github.prototype.init = function () {
85
85
self . applyTemplate ( JSON . parse ( cached ) ) ;
86
86
return ;
87
87
}
88
-
88
+
89
89
self . requestData ( self . repo ) ;
90
90
} ;
91
91
@@ -110,13 +110,13 @@ Github.prototype.requestData = function ( repo ) {
110
110
dataType : "jsonp" ,
111
111
success : function ( results ) {
112
112
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
+
115
115
if ( isFailling ) {
116
116
self . handleErrorRequest ( result_data ) ;
117
117
return ;
118
118
}
119
-
119
+
120
120
self . handleSuccessfulRequest ( result_data ) ;
121
121
}
122
122
} ) ;
@@ -155,7 +155,7 @@ Github.prototype.getCache = function() {
155
155
// Apply results to HTML template
156
156
Github . prototype . applyTemplate = function ( repo ) {
157
157
var githubRepo = new GithubRepo ( repo ) ,
158
- $widget = githubRepo . toHTML ( ) ;
158
+ $widget = githubRepo . toHTML ( ) ;
159
159
160
160
$widget . appendTo ( this . $container ) ;
161
161
} ;
You can’t perform that action at this time.
0 commit comments