From 8285b903d6d939a5aea08ca938274f0cb4e54e04 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Thu, 4 Sep 2014 21:27:38 -0400 Subject: [PATCH] clarify shim requirement --- docs/comparison.md | 2 +- docs/tools.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/comparison.md b/docs/comparison.md index 190e7b53..e2f50687 100644 --- a/docs/comparison.md +++ b/docs/comparison.md @@ -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. diff --git a/docs/tools.md b/docs/tools.md index cd325b63..eb10cd5f 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -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)