clarify shim requirement
This commit is contained in:
parent
5ff1767646
commit
8285b903d6
2 changed files with 3 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ Vue is a relatively new templating engine, but it boasts impressive results in i
|
|||
|
||||
It is not a full MVC framework, but it is similar to Angular templates, and uses the same terminology for its features (e.g. directives and filters).
|
||||
|
||||
The most relevant difference is that Vue uses browser features that don't work (and cannot be made to work) in Internet Explorer 8. Mithril allows developers to support browsers all the way back to IE6 and Blackberry.
|
||||
The most relevant difference is that Vue uses [browser features that don't work (and cannot be made to work) in Internet Explorer 8 and lower](https://github.com/yyx990803/vue/wiki/FAQ). Mithril does not rely on unpolyfillable features, so developers can support browsers all the way back to IE6 and Blackberry by using shims if support for those older browsers is required.
|
||||
|
||||
Vue's implementation cleverly hijacks array methods, but it should be noted that Javascript Arrays cannot be truly subclassed and as such, Vue suffers from abstraction leaks.
|
||||
|
||||
|
|
|
|||
|
|
@ -57,11 +57,11 @@ You can use it by adding a reference to your Typescript files. This will allow t
|
|||
|
||||
### Internet Explorer Compatibility
|
||||
|
||||
Mithril relies on some Ecmascript 5 features, namely: `Array::indexOf`, `Object::keys` and `Function::bind`, as well as the `JSON` object.
|
||||
Mithril relies on some Ecmascript 5 features, namely: `Array::indexOf`, `Array::map` and `Object::keys`, as well as the `JSON` object.
|
||||
|
||||
You can use polyfill libraries to support these features in IE7.
|
||||
|
||||
- [ES5 Shim](https://github.com/es-shims/es5-shim) or Mozilla.org's [Array::indexOf](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf), [Object::keys](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) and [Function::bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) polyfills
|
||||
- [ES5 Shim](https://github.com/es-shims/es5-shim) or Mozilla.org's [Array::indexOf](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf), [Array::map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) and [Object::keys](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys)
|
||||
|
||||
- [JSON2.js](https://github.com/douglascrockford/JSON-js/blob/master/json2.js)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue