OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
haraken
2016/01/02 13:47:41
Update the copyright of newly added files in this
szager1
2016/01/02 19:18:34
Done, here and elsewhere.
| |
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 this.onmessage = function(e) { | 5 // TODO(szager): link to final spec |
6 e.ports[0].postMessage('Pong from version 2'); | 6 |
7 dictionary IntersectionObserverInit { | |
8 Element? root; | |
9 DOMString rootMargin; | |
10 (double or double[]) threshold = 0; | |
7 }; | 11 }; |
8 | |
9 this.oninstall = function(e) { | |
10 e.waitUntil(self.skipWaiting()); | |
11 }; | |
OLD | NEW |