| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 /** @suppress {duplicate} */ | 5 /** @suppress {duplicate} */ |
| 6 var remoting = remoting || {}; | 6 var remoting = remoting || {}; |
| 7 | 7 |
| 8 (function() { | 8 (function() { |
| 9 | 9 |
| 10 'use strict'; | 10 'use strict'; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 */ | 83 */ |
| 84 remoting.AuthDialog.getInstance = function() { | 84 remoting.AuthDialog.getInstance = function() { |
| 85 if (!instance_) { | 85 if (!instance_) { |
| 86 var rootElement = document.getElementById('auth-dialog'); | 86 var rootElement = document.getElementById('auth-dialog'); |
| 87 instance_ = new remoting.AuthDialog(rootElement); | 87 instance_ = new remoting.AuthDialog(rootElement); |
| 88 } | 88 } |
| 89 return instance_; | 89 return instance_; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 })(); | 92 })(); |
| OLD | NEW |