jarrekk / Jalpc

🍎Jalpc -- A flexible Jekyll theme, 3 steps to build your website.
https://jarrekk.github.io/Jalpc/
MIT License
1.02k stars 1.1k forks source link

Can not load the number of stars and forks. #56

Closed kyle-seongwoo-jun closed 7 years ago

kyle-seongwoo-jun commented 7 years ago

If the project name contains ' . '(dot) (like nuwanda22,github.io) In the project section data(projects.yml) , the number of stars and forks can not be obtained and an error occurs.

The following is an error log.

Uncaught Error: Syntax error, unrecognized expression: div[repo=nuwanda22.github.io]
    at Function.e.error (app-index-20170307.min.js:1)
    at e.tokenize (app-index-20170307.min.js:2)
    at e.select (app-index-20170307.min.js:2)
    at Function.e [as find] (app-index-20170307.min.js:1)
    at rt.fn.init.find (app-index-20170307.min.js:2)
    at rt.fn.init (app-index-20170307.min.js:2)
    at rt (app-index-20170307.min.js:1)
    at Object.success (github_api.min.js:1)
    at u (app-index-20170307.min.js:2)
    at Object.fireWith [as resolveWith] (app-index-20170307.min.js:2)

Check it out at this page

jarrekk commented 7 years ago

@Nuwanda22 Thanks for reporting this bug! This is because when I compress 'static/js/github_api.js' to 'static/js/github_api.min.js', "'" is missing, now I fixed it in new push.

kyle-seongwoo-jun commented 7 years ago

Thank you 😄