(value)
| 146 | //Allow getting a global that is expressed in |
| 147 | //dot notation, like 'a.b.c'. |
| 148 | function getGlobal(value) { |
| 149 | if (!value) { |
| 150 | return value; |
| 151 | } |
| 152 | var g = global; |
| 153 | each(value.split('.'), function (part) { |
| 154 | g = g[part]; |
| 155 | }); |
| 156 | return g; |
| 157 | } |
| 158 | |
| 159 | /** |
| 160 | * Constructs an error with a pointer to an URL with more information. |
no test coverage detected
searching dependent graphs…