| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 (function(global) { | |
| 6 var has_cr = !!global.cr; | |
| 7 var cr_define_bckp = null; | |
| 8 if (has_cr && global.cr.define) | |
| 9 cr_define_bckp = global.cr.define; | |
| 10 if (!has_cr) | |
| 11 global.cr = {} | |
| 12 global.cr.define = function(_, define) { | |
| 13 global.wug = global.wug || {} | |
| 14 global.wug.Context = define().ScreenContext; | |
| 15 } | |
| 16 <include src="../../../chrome/browser/resources/chromeos/login/screen_context.js
"> | |
| 17 if (!has_cr) | |
| 18 delete global.cr; | |
| 19 if (cr_define_bckp) | |
| 20 global.cr.define = cr_define_bckp; | |
| 21 })(this); | |
| OLD | NEW |