(a, b)
| 153 | } |
| 154 | |
| 155 | function cmp(a, b) { |
| 156 | if (a === b) return true; |
| 157 | if (!a || typeof a != "object" || !b || typeof b != "object") return false; |
| 158 | var props = 0; |
| 159 | for (var prop in a) if (a.hasOwnProperty(prop)) { |
| 160 | if (!b.hasOwnProperty(prop) || !cmp(a[prop], b[prop])) return false; |
| 161 | props++; |
| 162 | } |
| 163 | for (var prop in b) if (b.hasOwnProperty(prop)) props--; |
| 164 | return props == 0; |
| 165 | } |
| 166 | |
| 167 | function enterLocalMode(config, state, spec, token) { |
| 168 | var pers; |
no outgoing calls
no test coverage detected