Commit f0cade1
committed
Do not rely on strict handling in setEdge (#31)
Previously setEdge relied on "use strict" for handling args. It turns
out the PhantomJS doesn't handle "use strict" under some conditions,
causing code that used setEdge to fail. This change makes the argument
work regardless of whether "use strict" is used or not. There isn't a
good way to test this, unfortunately...1 parent bbda5b9 commit f0cade1
1 file changed
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
315 | 310 | | |
316 | 311 | | |
317 | 312 | | |
| |||
321 | 316 | | |
322 | 317 | | |
323 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
324 | 333 | | |
325 | 334 | | |
326 | 335 | | |
| |||
0 commit comments