12 lines
569 B
JavaScript
12 lines
569 B
JavaScript
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* Before deploying the project to the website, developer must
|
|
* 1. Enable Google drive API in Google Developers Console.
|
|
* 2. Set "JavaScript origins" and "Referers" in credential page.
|
|
* 3. Fill in <API_KEY> and <CLIENT_ID> below from credential page. */
|
|
document.write('<script src="https://www.google.com/jsapi?key=<API_KEY>" type="text/javascript"></script>');
|
|
CLIENT_ID = '<CLIENT_ID>';
|