mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
fix formatting again
This commit is contained in:
parent
774f3d5b5d
commit
ddaea9b86a
36 changed files with 1720 additions and 1720 deletions
|
@ -2,13 +2,13 @@ import { locationProxy } from "./location";
|
|||
import { windowProxy } from "./window";
|
||||
|
||||
function scope(identifier: any) {
|
||||
if (identifier instanceof Window) {
|
||||
return windowProxy;
|
||||
} else if (identifier instanceof Location) {
|
||||
return locationProxy;
|
||||
}
|
||||
if (identifier instanceof Window) {
|
||||
return windowProxy;
|
||||
} else if (identifier instanceof Location) {
|
||||
return locationProxy;
|
||||
}
|
||||
|
||||
return identifier;
|
||||
return identifier;
|
||||
}
|
||||
|
||||
// shorthand because this can get out of hand reall quickly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue