Skip to content

Commit c2b9266

Browse files
authored
[quickfix]: jquery showcase
``` Uncaught TypeError: Cannot read properties of undefined (reading 'length') at Function.each (jquery.min.js:2:14269) at Object.<anonymous> (main.js:7:15) at Object.<anonymous> (jquery.min.js:2:18263) at k (jquery.min.js:2:16920) at Object.fireWith [as resolveWith] (jquery.min.js:2:17707) at y (jquery.min.js:2:80804) at XMLHttpRequest.d (jquery.min.js:2:86374) ```
1 parent 49292e0 commit c2b9266

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

showcase/javascripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
try { if (!pt){ pt = {}; } } catch(e){pt = {};}
22

33
$(document).ready(function(){
4-
$.getJSON("https://api.github.com/users/maifeeulasad/repos?per_page=100")
4+
$.getJSON("https://api.github.com/users/maifeeulasad/repos?per_page=100&callback=?")
55
.then(function(projects){
66
var h = "";
77
$.each(projects.data, function(i, p) {

0 commit comments

Comments
 (0)