Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 var sgb = require('schema_generated_bindings'); | |
| 6 | |
| 7 exports.generate = function(arg) { | |
| 8 bindings = sgb.compile(requireNative(arg).schema); | |
| 9 if (bindings) | |
| 10 return bindings; | |
| 11 else | |
| 12 return 'ERROR MESSAGE'; | |
|
not at google - send to devlin
2012/12/13 22:26:40
oops
| |
| 13 }; | |
| OLD | NEW |