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