Rewrite AndroidSyncSettings to be significantly simpler.
[chromium-blink-merge.git] / remoting / webapp / app_remoting / js / ar_main.js
blob269b5ff9c90752621d98f71fedf2c5ebb81882f2
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
3 // found in the LICENSE file.
5 'use strict';
7 /** @suppress {duplicate} */
8 var remoting = remoting || {};
10 /**
11 * Entry point ('load' handler) for App Remoting webapp.
13 remoting.startAppRemoting = function() {
14 remoting.app = new remoting.Application(remoting.app_capabilities());
15 var app_remoting = new remoting.AppRemoting(remoting.app);
16 remoting.app.start();
19 window.addEventListener('load', remoting.startAppRemoting, false);