Coder Social home page Coder Social logo

swan-js-host-app's Introduction

swan-app

作用:

作为swan-jsswan-js-apiswan-component的最上游模块,也是管理模块依赖关系的容器。通过构造器注入的方式,将所需要的 global、 api、 components、 注入到核心模块 core 中。

编译脚本:

sh build.sh 请注意npm换源

内部结构:

master: 产出 swanjs的逻辑层

master/master.html 客户端加载的入口h5文件(非v8/jsc环境)

master/master.js 客户端加载的入口h5文件的主逻辑

slave: 产出 swanjs的视图层

slave/slave.html 客户端加载的入口文件

slave/slave.js 客户端加载的入口h5文件的主逻辑

runtime/index.js: v8/jsc环境下的入口主逻辑文件

monitor/index.js: 性能监控相关

swan-js-host-app's People

Contributors

seanburt avatar

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.