| Index: third_party/polymer/v0_8/components-chromium/polymer/src/lib/annotations/demo/app-chrome-extracted.js
|
| diff --git a/third_party/polymer/v0_8/components-chromium/polymer/src/lib/annotations/demo/app-chrome-extracted.js b/third_party/polymer/v0_8/components-chromium/polymer/src/lib/annotations/demo/app-chrome-extracted.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c40593407ac6904397d1274d0c09e367ef90d74c
|
| --- /dev/null
|
| +++ b/third_party/polymer/v0_8/components-chromium/polymer/src/lib/annotations/demo/app-chrome-extracted.js
|
| @@ -0,0 +1,21 @@
|
| +console.perf();
|
| +;
|
| +
|
| + using('Annotations', function(Annotations) {
|
| +
|
| + var template = document.querySelector('template');
|
| + var list = Annotations.parseAnnotations(template);
|
| + console.log(list);
|
| +
|
| + var out = document.querySelector('pre');
|
| + out.textContent = JSON.stringify(list, function(key, value) {
|
| + if (key === 'parent') {
|
| + return '<parent reference>';
|
| + }
|
| + return value;
|
| + }, ' ');
|
| +
|
| + });
|
| +
|
| +
|
| +;console.perfEnd();
|
|
|