| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // require: cr.js | 5 // require: cr.js |
| 6 // require: cr/event_target.js | 6 // require: cr/event_target.js |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * @fileoverview This creates a log object which listens to and | 9 * @fileoverview This creates a log object which listens to and |
| 10 * records all sync events. | 10 * records all sync events. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 var e = cr.doc.createEvent('CustomEvent'); | 104 var e = cr.doc.createEvent('CustomEvent'); |
| 105 e.initCustomEvent('append', false, false, entry); | 105 e.initCustomEvent('append', false, false, entry); |
| 106 this.dispatchEvent(e); | 106 this.dispatchEvent(e); |
| 107 } | 107 } |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 return { | 110 return { |
| 111 log: new Log() | 111 log: new Log() |
| 112 }; | 112 }; |
| 113 }); | 113 }); |
| OLD | NEW |