Giter VIP home page Giter VIP logo

browserrequire's Introduction

BrowserRequire

BrowserRequire is a dynamic script loader and a module loader for the web.

English use guide : click me!

BrowserRequire是给浏览器使用的模块化框架,并且提供灵活加载js文件(非模块化文件)的功能。

中文使用指南:点击进入!

###目录介绍

dist————BrowserRequire框架压缩文件

example————示范案例

src————BrowserRequire源代码

要使用BrowserRequire只需要下载dist内的文件即可。

###编写目的

在过去的Web开发中,遇到现有的模块化框架无法满足的需求,故开发一款更符合浏览器使用的模块加载器;

编写BrowserRequire目的不在于统一前后端模块使用,而是做一款更适合Web前端开发需求的模块化框架;

更好的处理了模块与非模块间的使用;

更像是LABjs+requireJS的结合增强版,但打包源文件只有7kb左右;

###已知兼容性

IE 5.5+ (添加ieload插件,若不添加则IE10+)

Opera 10+

Chrome 8+

Firefox 3.6+

Safari 5+

其中Chrome、Firefox和Safari可能会向更前的版本兼容。

对移动端有很好的兼容性。

###优缺点

参考完使用文档的最后,有优缺点说明,或者按这里跳转查看

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.