(obj, callback)
| 100 | "if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes").split(" "); |
| 101 | |
| 102 | function forAllProps(obj, callback) { |
| 103 | if (!Object.getOwnPropertyNames || !Object.getPrototypeOf) { |
| 104 | for (var name in obj) callback(name) |
| 105 | } else { |
| 106 | for (var o = obj; o; o = Object.getPrototypeOf(o)) |
| 107 | Object.getOwnPropertyNames(o).forEach(callback) |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | function getCompletions(token, context, keywords, options) { |
| 112 | var found = [], start = token.string, global = options && options.globalScope || window; |
no test coverage detected