From d7f224ad2fafe6cfe4759bf7e70b536130d83bd9 Mon Sep 17 00:00:00 2001 From: Trem Date: Mon, 15 Jul 2019 12:14:43 +0100 Subject: [PATCH] update docs to use v2.2.0 --- docs/index.html | 2 +- docs/{page.34b365d6.js => page.12a7862c.js} | 101 ++++++++++---------- docs/page.12a7862c.js.map | 1 + docs/page.34b365d6.js.map | 1 - 4 files changed, 53 insertions(+), 52 deletions(-) rename docs/{page.34b365d6.js => page.12a7862c.js} (70%) create mode 100644 docs/page.12a7862c.js.map delete mode 100644 docs/page.34b365d6.js.map diff --git a/docs/index.html b/docs/index.html index 00104c3..631d16e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20,5 +20,5 @@ ro.observe(someElement); -

Pseudo Classes

The library supports user-actioned pseudo classes, like :hover, :active, :focus

Hover, click or focus me.

Animations*

The library will detect changes which occur during animations.

Tap me.

Transitions*

The library will detect changes which occur during transition.

Tap me.

NB: Slow-starting transitions may not be noticed, unless, other interactions occur in the application. Any missed calculations will be noticed at the end of the transition.

Performance Test

This animates 200 elements and counts the changes. To start/stop the animation, tap the cell area.

Updates: 0


*Once the animation, or, transition has finished, the observer will sleep and wait for the next interaction. This keeps CPU idle, reducing battery consumption on portable devices.

+

Pseudo Classes

The library supports user-actioned pseudo classes, like :hover, :active, :focus

Hover, click or focus me.

Animations*

The library will detect changes which occur during animations.

Tap me.

Transitions*

The library will detect changes which occur during transition.

Tap me.

NB: Slow-starting transitions may not be noticed, unless, other interactions occur in the application. Any missed calculations will be noticed at the end of the transition.

Performance Test

This animates 200 elements and counts the changes. To start/stop the animation, tap the cell area.

Updates: 0


*Once the animation, or, transition has finished, the observer will sleep and wait for the next interaction. This keeps CPU idle, reducing battery consumption on portable devices.

\ No newline at end of file diff --git a/docs/page.34b365d6.js b/docs/page.12a7862c.js similarity index 70% rename from docs/page.34b365d6.js rename to docs/page.12a7862c.js index 0843b38..5c6f778 100644 --- a/docs/page.34b365d6.js +++ b/docs/page.12a7862c.js @@ -50,7 +50,7 @@ var n=require("../internals/shared");module.exports=n("native-function-to-string var e=require("../internals/global"),t=require("../internals/function-to-string"),n=e.WeakMap;module.exports="function"==typeof n&&/native code/.test(t.call(n)); },{"../internals/global":"hMWN","../internals/function-to-string":"VjYR"}],"Sp03":[function(require,module,exports) { -var o=0,t=Math.random();module.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++o+t).toString(36))}; +var o=0,r=Math.random();module.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++o+r).toString(36)}; },{}],"Xta8":[function(require,module,exports) { var e=require("../internals/shared"),r=require("../internals/uid"),n=e("keys");module.exports=function(e){return n[e]||(n[e]=r(e))}; },{"../internals/shared":"yATA","../internals/uid":"Sp03"}],"61Ci":[function(require,module,exports) { @@ -61,16 +61,21 @@ var e,r,n,t=require("../internals/native-weak-map"),i=require("../internals/glob },{"../internals/native-weak-map":"A5Jk","../internals/global":"hMWN","../internals/is-object":"G5vJ","../internals/hide":"fXdG","../internals/has":"AVGS","../internals/shared-key":"Xta8","../internals/hidden-keys":"61Ci"}],"4c+G":[function(require,module,exports) { var e=require("../internals/global"),n=require("../internals/shared"),t=require("../internals/hide"),r=require("../internals/has"),i=require("../internals/set-global"),o=require("../internals/function-to-string"),s=require("../internals/internal-state"),a=s.get,u=s.enforce,l=String(o).split("toString");n("inspectSource",function(e){return o.call(e)}),(module.exports=function(n,o,s,a){var c=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,g=!!a&&!!a.noTargetGet;"function"==typeof s&&("string"!=typeof o||r(s,"name")||t(s,"name",o),u(s).source=l.join("string"==typeof o?o:"")),n!==e?(c?!g&&n[o]&&(f=!0):delete n[o],f?n[o]=s:t(n,o,s)):f?n[o]=s:i(o,s)})(Function.prototype,"toString",function(){return"function"==typeof this&&a(this).source||o.call(this)}); -},{"../internals/global":"hMWN","../internals/shared":"yATA","../internals/hide":"fXdG","../internals/has":"AVGS","../internals/set-global":"LZYX","../internals/function-to-string":"VjYR","../internals/internal-state":"/CDT"}],"GLN+":[function(require,module,exports) { +},{"../internals/global":"hMWN","../internals/shared":"yATA","../internals/hide":"fXdG","../internals/has":"AVGS","../internals/set-global":"LZYX","../internals/function-to-string":"VjYR","../internals/internal-state":"/CDT"}],"8Qps":[function(require,module,exports) { +module.exports=require("../internals/global"); +},{"../internals/global":"hMWN"}],"JxF1":[function(require,module,exports) { + +var n=require("../internals/path"),e=require("../internals/global"),r=function(n){return"function"==typeof n?n:void 0};module.exports=function(t,i){return arguments.length<2?r(n[t])||r(e[t]):n[t]&&n[t][i]||e[t]&&e[t][i]}; +},{"../internals/path":"8Qps","../internals/global":"hMWN"}],"GLN+":[function(require,module,exports) { var o=Math.ceil,r=Math.floor;module.exports=function(t){return isNaN(t=+t)?0:(t>0?r:o)(t)}; },{}],"/rbg":[function(require,module,exports) { var e=require("../internals/to-integer"),r=Math.min;module.exports=function(n){return n>0?r(e(n),9007199254740991):0}; },{"../internals/to-integer":"GLN+"}],"j8pk":[function(require,module,exports) { var r=require("../internals/to-integer"),e=Math.max,t=Math.min;module.exports=function(n,a){var i=r(n);return i<0?e(i+a,0):t(i,a)}; },{"../internals/to-integer":"GLN+"}],"aslv":[function(require,module,exports) { -var e=require("../internals/to-indexed-object"),r=require("../internals/to-length"),n=require("../internals/to-absolute-index");module.exports=function(t){return function(i,o,u){var l,f=e(i),a=r(f.length),s=n(u,a);if(t&&o!=o){for(;a>s;)if((l=f[s++])!=l)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===o)return t||s||0;return!t&&-1}}; +var e=require("../internals/to-indexed-object"),r=require("../internals/to-length"),n=require("../internals/to-absolute-index"),t=function(t){return function(i,u,o){var l,f=e(i),s=r(f.length),a=n(o,s);if(t&&u!=u){for(;s>a;)if((l=f[a++])!=l)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===u)return t||a||0;return!t&&-1}};module.exports={includes:t(!0),indexOf:t(!1)}; },{"../internals/to-indexed-object":"ZYi5","../internals/to-length":"/rbg","../internals/to-absolute-index":"j8pk"}],"MIhG":[function(require,module,exports) { -var e=require("../internals/has"),r=require("../internals/to-indexed-object"),n=require("../internals/array-includes"),i=require("../internals/hidden-keys"),s=n(!1);module.exports=function(n,t){var u,a=r(n),l=0,o=[];for(u in a)!e(i,u)&&e(a,u)&&o.push(u);for(;t.length>l;)e(a,u=t[l++])&&(~s(o,u)||o.push(u));return o}; +var e=require("../internals/has"),r=require("../internals/to-indexed-object"),n=require("../internals/array-includes").indexOf,i=require("../internals/hidden-keys");module.exports=function(s,t){var u,a=r(s),d=0,l=[];for(u in a)!e(i,u)&&e(a,u)&&l.push(u);for(;t.length>d;)e(a,u=t[d++])&&(~n(l,u)||l.push(u));return l}; },{"../internals/has":"AVGS","../internals/to-indexed-object":"ZYi5","../internals/array-includes":"aslv","../internals/hidden-keys":"61Ci"}],"2Mly":[function(require,module,exports) { module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]; },{}],"2nW2":[function(require,module,exports) { @@ -78,9 +83,8 @@ var e=require("../internals/object-keys-internal"),r=require("../internals/enum- },{"../internals/object-keys-internal":"MIhG","../internals/enum-bug-keys":"2Mly"}],"0hHZ":[function(require,module,exports) { exports.f=Object.getOwnPropertySymbols; },{}],"63i4":[function(require,module,exports) { - -var e=require("../internals/global"),r=require("../internals/object-get-own-property-names"),n=require("../internals/object-get-own-property-symbols"),t=require("../internals/an-object"),o=e.Reflect;module.exports=o&&o.ownKeys||function(e){var o=r.f(t(e)),a=n.f;return a?o.concat(a(e)):o}; -},{"../internals/global":"hMWN","../internals/object-get-own-property-names":"2nW2","../internals/object-get-own-property-symbols":"0hHZ","../internals/an-object":"qC4L"}],"6R2j":[function(require,module,exports) { +var e=require("../internals/get-built-in"),r=require("../internals/object-get-own-property-names"),n=require("../internals/object-get-own-property-symbols"),t=require("../internals/an-object");module.exports=e("Reflect","ownKeys")||function(e){var o=r.f(t(e)),i=n.f;return i?o.concat(i(e)):o}; +},{"../internals/get-built-in":"JxF1","../internals/object-get-own-property-names":"2nW2","../internals/object-get-own-property-symbols":"0hHZ","../internals/an-object":"qC4L"}],"6R2j":[function(require,module,exports) { var e=require("../internals/has"),r=require("../internals/own-keys"),n=require("../internals/object-get-own-property-descriptor"),t=require("../internals/object-define-property");module.exports=function(i,o){for(var a=r(o),s=t.f,l=n.f,p=0;pu;)a.call(n,l=s[u++])&&o.push(l);return o}; -},{"../internals/object-keys":"3Oug","../internals/object-get-own-property-symbols":"0hHZ","../internals/object-property-is-enumerable":"00oc"}],"Gy1S":[function(require,module,exports) { +},{"../internals/object-keys-internal":"MIhG","../internals/enum-bug-keys":"2Mly"}],"Gy1S":[function(require,module,exports) { var e=require("../internals/descriptors"),r=require("../internals/object-define-property"),n=require("../internals/an-object"),t=require("../internals/object-keys");module.exports=e?Object.defineProperties:function(e,i){n(e);for(var o,s=t(i),a=s.length,u=0;a>u;)r.f(e,o=s[u++],i[o]);return e}; },{"../internals/descriptors":"A+0t","../internals/object-define-property":"SKnA","../internals/an-object":"qC4L","../internals/object-keys":"3Oug"}],"g9IP":[function(require,module,exports) { - -var e=require("../internals/global"),l=e.document;module.exports=l&&l.documentElement; -},{"../internals/global":"hMWN"}],"FUoc":[function(require,module,exports) { +var e=require("../internals/get-built-in");module.exports=e("document","documentElement"); +},{"../internals/get-built-in":"JxF1"}],"FUoc":[function(require,module,exports) { var e=require("../internals/an-object"),r=require("../internals/object-define-properties"),n=require("../internals/enum-bug-keys"),t=require("../internals/hidden-keys"),i=require("../internals/html"),l=require("../internals/document-create-element"),o=require("../internals/shared-key"),u=o("IE_PROTO"),a="prototype",s=function(){},c=function(){var e,r=l("iframe"),t=n.length;for(r.style.display="none",i.appendChild(r),r.src=String("javascript:"),(e=r.contentWindow.document).open(),e.write("