1 // Copyright 2015 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.
6 * @fileoverview Partial definitions for ECMAScript 7. To compile Files.app, some
7 * definitions are defined in this file. They should be removed once ES7
8 * definitions are ready in closure compiler by default.
13 * @param {!Object} obj
14 * @param {function(!Array<!Object>)} callback
15 * @param {!Array<string>=} acceptList
17 Object.observe = function(obj, callback, acceptList) {};
20 * @param {!Object} obj
21 * @param {function(!Array<!Object>)} callback
23 Object.unobserve = function(obj, callback) {};
27 * @param {function(!Array<!Object>)} callback
29 Array.observe = function(arr, callback) {};
33 * @param {function(!Array<!Object>)} callback
35 Array.unobserve = function(arr, callback) {};