OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 cr.define('welcomewin10', function() { |
| 6 'use strict'; |
| 7 |
| 8 function onContinue(e) { |
| 9 chrome.send('handleContinue'); |
| 10 } |
| 11 |
| 12 function initialize() { |
| 13 $('continue-button').addEventListener('click', onContinue); |
| 14 } |
| 15 |
| 16 return { |
| 17 initialize: initialize |
| 18 }; |
| 19 }); |
| 20 |
| 21 document.addEventListener('DOMContentLoaded', welcomewin10.initialize); |
OLD | NEW |