noteIE11はes6未対応なのでアロー関数もテンプレート文字列も使えない!!!!!



//アロー関数は使わない。※forEachも対処(後述)
const sample = document.querySelectorAll('.aniClc');
sample.forEach( img => {
    observer.observe(img);
});

//アロー関数用のpolyfillはない
//代わりにfunctionを使う
//でもforEachは、IEでエラー
sample.forEach(function(img) {
  observer.observe(img);
});

//forEachエラーの回避策その1
const snode = Array.prototype.slice.call(sample,0);

snode.forEach(function(img) {
   observer.observe(img);
});

//forEachエラーの回避策その2
Array.prototype.forEach.call(sample, function(img) {
    observer.observe(img);
});

//assignエラーのpolyfill


//intersection APIのpolyfill


//.remove()が使えない!
$shade.remove();

//親要素に遡って.removeChildで回避
$shade.parentElement.removeChild($shade);

//.flex内の position:sticky が効かない
// script src="./stickyfill.min.js"
//※ただし、動作が重い
var elem = document.querySelectorAll('.sticky');
Stickyfill.add(elem);

//windowsサイズ・座標が取得できん
//ie11だと、window.innerWidthはOKだけど、ie10以下はNG
op.ww = window.innerWidth||document.documentElement.clientWidth;
op.wh = window.innerHeight||document.documentElement.clientHeight;

//ie11以下window.scrollXは、NG
op.wl = window.scrollX||window.pageXOffset;
op.wt = window.scrollY||window.pageYOffset;