| OLD | NEW | 
|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 (function() { | 5 (function() { | 
| 6 | 6 | 
| 7 var plugin; | 7 var plugin; | 
| 8 var sizer; | 8 var sizer; | 
| 9 | 9 | 
| 10 function onScroll() { | 10 function onScroll() { | 
| 11   var coordinates = [window.pageXOffset, window.pageYOffset]; | 11   var coordinates = [window.pageXOffset, window.pageYOffset]; | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
| 42   sizer.style.zIndex = '0'; | 42   sizer.style.zIndex = '0'; | 
| 43   sizer.style.position = 'absolute'; | 43   sizer.style.position = 'absolute'; | 
| 44   sizer.style.width = '100%'; | 44   sizer.style.width = '100%'; | 
| 45   sizer.style.height = '100%'; | 45   sizer.style.height = '100%'; | 
| 46   document.body.appendChild(sizer); | 46   document.body.appendChild(sizer); | 
| 47 } | 47 } | 
| 48 | 48 | 
| 49 load(); | 49 load(); | 
| 50 | 50 | 
| 51 })(); | 51 })(); | 
| OLD | NEW | 
|---|