summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/chromeos/wallpaper_manager/js/main.js
blob: adf044a8845dbd0f60fe5470f42ecd45237b87c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/**
 * Global wallpaperManager reference useful for poking at from the console.
*/
var wallpaperManager;

function init() {
  WallpaperManager.initStrings(function() {
    wallpaperManager = new WallpaperManager(document.body);
  });
}

document.addEventListener('DOMContentLoaded', init);