Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] of Importing springy.js function in hexo #103

Open
WenyinWei opened this issue May 1, 2019 · 1 comment
Open

[Bug] of Importing springy.js function in hexo #103

WenyinWei opened this issue May 1, 2019 · 1 comment

Comments

@WenyinWei
Copy link

Hello All,

Seems that something wrong with springy in my hexo blog. I used the javascript files as the following:

<script src="http://cdn.staticfile.org/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="/springy.js"></script>
<script type="text/javascript" src="/springyui.js"></script>

Then fails with the error saying that it is not a function call jQuery(...).springy. Apparently, there is a gap between springy and jQuery, but I have no idea how to figure it out. Could anyone helps me out?

image

image

@WenyinWei
Copy link
Author

I worked around to find a bad solution. This is caused by loading JQuery multiple times. But I can not adjust the default loading of JQuery. So the easiest way is to make a blank page and then there would be no conflicts.

I shall communicate with Hexo maintainers how to settle the twice loading JQuery problem later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant