Git Product home page Git Product logo

myblog's People

Watchers

 avatar

myblog's Issues

android mvp的本质

vm模式是activity直接调用网络层的方法,并且定义请求的回调方法,根据返回数据的情况动态绘制视图view的状态。 而mvp模式里面,iView接口(activity)只做绘制视图view的事情,而调用网络层并定义请求回调方法,以及根据返回数据判断渲染哪种状态的view这些事情就分给presenter做了

整合bootstrap和rem单位

bootstrap默认body的fontSize是14px,如果使用rem的js方法的话会动态修改body的fontSize。那么会不会影响bootstrap的那些使用em为单位的地方呢?解决方法很简单,在body下面建立个根div,重置为fontSize:14px就可以了

webpack-dev-server做了什么?

webpack-dev-server做了什么?
答:
解析根url,利用contentBase提供html
解析publicPath。利用outPath提供静态文件
如果publicPath为/。那么根url和publicPath相等,这时优先级高的是outPath提供的静态html

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.