Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 cr.define('safe_browsing', function() { | |
|
Jialiu Lin
2017/06/15 22:52:43
copy right.
hkamila
2017/06/16 20:53:24
I added the copyright statement in patch #2.
| |
| 2 'use strict'; | |
| 3 | |
| 4 /** | |
| 5 * Translate the message on loading the page. | |
| 6 */ | |
| 7 function initialize() { | |
| 8 $('sb-under-construction-message').textContent = loadTimeData.getStringF( | |
| 9 'sbUnderConstructionMessage',loadTimeData.getString('userName')); | |
| 10 } | |
| 11 | |
| 12 return { | |
| 13 initialize: initialize, | |
| 14 }; | |
| 15 }); | |
| 16 | |
| 17 document.addEventListener('DOMContentLoaded', safe_browsing.initialize); | |
| OLD | NEW |