Closed dfilatov closed 10 years ago
Repo for shim: https://github.com/bem/es5-shims
We need to add some notes about support IE8: If you are planning to use ie8, you need to attach es5-shims by yourself. There is example of bemjson:
[
'<!--[if lt IE 9]>',
{ elem : 'js', url : '//yandex.st/es5-shims/0.0.1/es5-shims.min.js' },
'<![endif]-->'
]
Another way for plug es5-shims
is to use it as BEM-library thought bower
and manually link i-bem
\w ecma__*
on the project's level
cc @veged Add external conditional commented link to es5 polyfills. Deploy ES5 polyfils to Yandex CDN (http://api.yandex.ru/jslibs/).
If you are planning to support IE8, you need to attach es5-shims by yourself. There is example of bemjson:
If you are planning to use
Function.prototype.bind
and support Android 2.x, you need to attach es5-shims by yourself or usejQuery.proxy
. There is example of bemjson: