OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included file, hence no include guard. | 5 exports.generate = function(arg) { |
6 | 6 if (!this[arg]) |
7 #include "android_webview/common/render_view_messages.h" | 7 this[arg] = requireNative(arg).schema; |
8 | 8 return this[arg]; |
not at google - send to devlin
2012/12/14 00:44:00
I would expect this function to look like:
export
cduvall
2012/12/14 02:04:50
Refactor coming soon!
| |
9 }.bind({}); | |
not at google - send to devlin
2012/12/14 00:44:00
why the bind({})?
oh, for the cache. Yeah I don't
cduvall
2012/12/14 02:04:50
Done.
| |
OLD | NEW |