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

Added canvas-nest.min.js in a better way. #1327

Merged
merged 2 commits into from
Jan 5, 2017
Merged

Added canvas-nest.min.js in a better way. #1327

merged 2 commits into from
Jan 5, 2017

Conversation

AlynxZhou
Copy link
Contributor

Just added canves-nest.min.js as a internal lib and add two configs, one is open or close, default is close, the other is about using a CDN, the way I used is just like what NexT do normal for libs such as jquery. And the major change is in vendors.swig instead of _layout.swig, which is more like what NexT use, and is better than the way than #1326 .
Tested with my own website in both internal and CDN, it worked perfectly.

@AlynxZhou
Copy link
Contributor Author

Here is my website 请叫我喵's StackHarbor, you can visit my page via computer to see it.

@iissnan iissnan merged commit 849ecb7 into iissnan:master Jan 5, 2017
habren pushed a commit to habren/hexo-theme-next that referenced this pull request Apr 9, 2017
Added canvas-nest.min.js in a better way.
@MoshiCoCo
Copy link

MoshiCoCo commented Aug 14, 2018

Hello, developer
When I use hexo, canvas-nest doesn't work. I found that when the hexo g was executed, the generated canvas-nest.min.js code ended up with more parts, which made the canvas-nest not work. what is the reason?

This is the part of the code that is more after executing hexo g
</0?-1:1,e.fillrect(i.x-0.5,i.y-0.5,1,1);for(v=0;v<w.length;v++){x=w[v];if(i!==x&&null!==x.x&&null!==x.y){b=i.x-x.x,z=i.y-x.y,y=b*b+z*z;y<x.max&&(x===f&&y></0?-1:1,i.ya*=i.y>

My English expression is not very good, with the help of Google Translate, so you may have some difficulty reading this passage and expect to get your answer.

@ivan-nginx
Copy link
Collaborator

NexT is rebased into organization repo.
If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).

There is instructions on English or Chinese how to update from v5.1.x to v 6.x

You also may read this for details.

Repository owner locked and limited conversation to collaborators Aug 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants