Coder Social home page Coder Social logo

abeet / vue1-ie Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 7.0 107 KB

vue1兼容ie8,判断当前浏览器为IE8后,会把Vue实例修改为VBScript对象,在非ie8浏览器,仍然是原来的Vue的实现

HTML 3.50% JavaScript 96.50%
vue vuejs ie8 ie8-compat ie8-gradient

vue1-ie's Introduction

vue1-ie8

Vue1适配IE8,Vue1兼容IE8。
判断当前浏览器为IE8后,会对Vue的实现作许多调整(vue和vue组件实例换成VBScript对象),在非IE8浏览器,仍然是原来的Vue的实现。 所以在IE9+及其他现代浏览器下和原Vue没有任何区别。

感谢以下项目提供的IE6/7/8下实现setter/getter的思路:
https://github.com/dojo/dojox/blob/master/lang/observable.js
https://github.com/RubyLouvre/avalon/blob/1.6/src/model/defineProperties.js

实现过程的工作笔记:abeet/Blog#35

vue1-ie's People

Contributors

abeet avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

vue1-ie's Issues

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.