Giter VIP home page Giter VIP logo

gposts's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gposts's Issues

thanks

学到很多,感谢

换行问题

https://github.com/goddyZhao/GPosts/blob/master/javascript/%E5%8A%A8%E6%80%81%E4%BF%AE%E6%94%B9script%E6%A0%87%E7%AD%BE%E4%B8%AD%E7%9A%84src%E5%B1%9E%E6%80%A7%E5%AD%98%E5%9C%A8%E7%9A%84%E9%97%AE%E9%A2%98.md

这根换行有关系吗? 根本原因就是在于 浏览器对js的渲染顺序。 说说自己的观点:
1: 更改script的src 这回直接造成页面重新渲染。(鬼知道你js里都有什么) 更重要的是 直接更改现有js逻辑。
2:如果又src 并且有inline js 肯定是先执行src。 如果两者都执行。 如果两者又功能内容 肯定会造成冲突。这就好比min文件一样。
3: 至于空格 换行问题 我在本地尝试 完全没有问题。加不加都一样。 测试环境:chrome 39 dev && firefox 33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.