Skip to content

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

Merged
iissnan merged 2 commits into
iissnan:masterfrom
AlynxZhou:master
Jan 5, 2017
Merged

iissnan merged 2 commits into
iissnan:masterfrom
AlynxZhou:master

Conversation

@AlynxZhou

Copy link
Copy Markdown
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
Copy Markdown
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
@MoshiCoCo

MoshiCoCo commented Aug 14, 2018 •

Copy link
Copy Markdown

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
Copy Markdown
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