Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright 2017 The Chromium Authors. All rights reserved. | |
|
vakh (use Gerrit instead)
2017/06/23 18:52:02
This file should no longer be needed.
| |
| 2 * Use of this source code is governed by a BSD-style license that can be | |
| 3 * found in the LICENSE file. */ | |
| 4 | |
| 5 cr.define('safe_browsing', function() { | |
| 6 'use strict'; | |
| 7 | |
| 8 /** | |
| 9 * Translate the message on loading the page. | |
| 10 */ | |
| 11 function initialize() { | |
| 12 $('sb-under-construction-message').textContent = | |
| 13 loadTimeData.getStringF('sbUnderConstructionMessage'); | |
| 14 } | |
| 15 | |
| 16 return { | |
| 17 initialize: initialize, | |
| 18 }; | |
| 19 }); | |
| 20 | |
| 21 document.addEventListener('DOMContentLoaded', safe_browsing.initialize); | |
| OLD | NEW |