OLD | NEW |
1 | 1 |
2 (function () { | 2 (function () { |
3 | 3 |
4 var write = function (ast, opt) { | 4 var write = function (ast, opt) { |
5 var curPea = "" | 5 var curPea = "" |
6 , curTPea = "" | 6 , curTPea = "" |
7 , opt = opt || {} | 7 , opt = opt || {} |
8 , noop = function (str) { return str; } | 8 , noop = function (str) { return str; } |
9 , optNames = "type".split(" ") | 9 , optNames = "type".split(" ") |
10 , context = [] | 10 , context = [] |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 write: function (ast, opt) { | 227 write: function (ast, opt) { |
228 if (!opt) opt = {}; | 228 if (!opt) opt = {}; |
229 return write(ast, opt); | 229 return write(ast, opt); |
230 } | 230 } |
231 }; | 231 }; |
232 | 232 |
233 if (inNode) module.exports = obj; | 233 if (inNode) module.exports = obj; |
234 else window.WebIDL2Writer = obj; | 234 else window.WebIDL2Writer = obj; |
235 | 235 |
236 }()); | 236 }()); |
OLD | NEW |