OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The Polymer Authors. All rights reserved. | 2 * Copyright 2013 The Polymer Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style | 3 * Use of this source code is governed by a BSD-style |
4 * license that can be found in the LICENSE file. | 4 * license that can be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 // if standalone | 7 // if standalone |
8 if (window.top === window) { | 8 if (window.top === window) { |
9 // if standalone | 9 // if standalone |
10 var failed = false; | 10 var failed = false; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } else { | 84 } else { |
85 setTimeout(function() { | 85 setTimeout(function() { |
86 waitFor(fn, next, intervalOrMutationEl, timeout, timeoutTime); | 86 waitFor(fn, next, intervalOrMutationEl, timeout, timeoutTime); |
87 }, intervalOrMutationEl); | 87 }, intervalOrMutationEl); |
88 } | 88 } |
89 return; | 89 return; |
90 } | 90 } |
91 } | 91 } |
92 next(); | 92 next(); |
93 }; | 93 }; |
OLD | NEW |