diff --git a/bower.json b/bower.json index f204ffe..b8c0045 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-ui-virtualization", - "version": "1.0.0-beta.7", + "version": "1.0.0-rc2", "description": "A plugin that provides a virtualized repeater and other virtualization services.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-ui-virtualization.js b/dist/amd/aurelia-ui-virtualization.js index 4080e08..9de64df 100644 --- a/dist/amd/aurelia-ui-virtualization.js +++ b/dist/amd/aurelia-ui-virtualization.js @@ -59,7 +59,7 @@ define(['exports', 'aurelia-binding', 'aurelia-templating', 'aurelia-templating- var doc = document; var htmlElement = doc.documentElement; - var $raf = requestAnimationFrame; + var $raf = requestAnimationFrame.bind(window); var getScrollerElement = function (element) { var current = element.parentNode; diff --git a/dist/commonjs/aurelia-ui-virtualization.js b/dist/commonjs/aurelia-ui-virtualization.js index 0b5906c..40128fa 100644 --- a/dist/commonjs/aurelia-ui-virtualization.js +++ b/dist/commonjs/aurelia-ui-virtualization.js @@ -67,7 +67,7 @@ var $isNaN = isNaN; var doc = document; var htmlElement = doc.documentElement; -var $raf = requestAnimationFrame; +var $raf = requestAnimationFrame.bind(window); var getScrollerElement = function (element) { var current = element.parentNode; diff --git a/dist/es2015/aurelia-ui-virtualization.js b/dist/es2015/aurelia-ui-virtualization.js index 5ed08a2..2798691 100644 --- a/dist/es2015/aurelia-ui-virtualization.js +++ b/dist/es2015/aurelia-ui-virtualization.js @@ -34,7 +34,7 @@ const $isNaN = isNaN; const doc = document; const htmlElement = doc.documentElement; -const $raf = requestAnimationFrame; +const $raf = requestAnimationFrame.bind(window); const getScrollerElement = (element) => { let current = element.parentNode; diff --git a/dist/es2017/aurelia-ui-virtualization.js b/dist/es2017/aurelia-ui-virtualization.js index 5ed08a2..2798691 100644 --- a/dist/es2017/aurelia-ui-virtualization.js +++ b/dist/es2017/aurelia-ui-virtualization.js @@ -34,7 +34,7 @@ const $isNaN = isNaN; const doc = document; const htmlElement = doc.documentElement; -const $raf = requestAnimationFrame; +const $raf = requestAnimationFrame.bind(window); const getScrollerElement = (element) => { let current = element.parentNode; diff --git a/dist/native-modules/aurelia-ui-virtualization.js b/dist/native-modules/aurelia-ui-virtualization.js index 3b1d58f..f53d64c 100644 --- a/dist/native-modules/aurelia-ui-virtualization.js +++ b/dist/native-modules/aurelia-ui-virtualization.js @@ -63,7 +63,7 @@ var $isNaN = isNaN; var doc = document; var htmlElement = doc.documentElement; -var $raf = requestAnimationFrame; +var $raf = requestAnimationFrame.bind(window); var getScrollerElement = function (element) { var current = element.parentNode; diff --git a/dist/system/aurelia-ui-virtualization.js b/dist/system/aurelia-ui-virtualization.js index efd02d5..49ae300 100644 --- a/dist/system/aurelia-ui-virtualization.js +++ b/dist/system/aurelia-ui-virtualization.js @@ -91,7 +91,7 @@ System.register(['aurelia-binding', 'aurelia-templating', 'aurelia-templating-re var doc = document; var htmlElement = doc.documentElement; - var $raf = requestAnimationFrame; + var $raf = requestAnimationFrame.bind(window); var getScrollerElement = function (element) { var current = element.parentNode; diff --git a/dist/umd-es2015/aurelia-ui-virtualization.js b/dist/umd-es2015/aurelia-ui-virtualization.js index 1687383..686a29f 100644 --- a/dist/umd-es2015/aurelia-ui-virtualization.js +++ b/dist/umd-es2015/aurelia-ui-virtualization.js @@ -34,7 +34,7 @@ const doc = document; const htmlElement = doc.documentElement; - const $raf = requestAnimationFrame; + const $raf = requestAnimationFrame.bind(window); const getScrollerElement = (element) => { let current = element.parentNode; diff --git a/dist/umd/aurelia-ui-virtualization.js b/dist/umd/aurelia-ui-virtualization.js index d8b52f5..45031db 100644 --- a/dist/umd/aurelia-ui-virtualization.js +++ b/dist/umd/aurelia-ui-virtualization.js @@ -63,7 +63,7 @@ var doc = document; var htmlElement = doc.documentElement; - var $raf = requestAnimationFrame; + var $raf = requestAnimationFrame.bind(window); var getScrollerElement = function (element) { var current = element.parentNode; diff --git a/package-lock.json b/package-lock.json index afa8a22..48994eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "aurelia-ui-virtualization", - "version": "1.0.0-rc1", + "version": "1.0.0-rc2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e756b78..1e33ffd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-ui-virtualization", - "version": "1.0.0-rc1", + "version": "1.0.0-rc2", "description": "A plugin that provides a virtualized repeater and other virtualization services.", "keywords": [ "aurelia",