mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
semicolons
This commit is contained in:
parent
56767f5b31
commit
4906b71e47
37 changed files with 789 additions and 784 deletions
|
@ -1,15 +1,15 @@
|
|||
import { locationProxy } from "./location"
|
||||
import { windowProxy } from "./window"
|
||||
import { locationProxy } from "./location";
|
||||
import { windowProxy } from "./window";
|
||||
|
||||
function scope(identifier: any) {
|
||||
if (identifier instanceof Window) {
|
||||
return windowProxy
|
||||
return windowProxy;
|
||||
} else if (identifier instanceof Location) {
|
||||
return locationProxy
|
||||
return locationProxy;
|
||||
}
|
||||
|
||||
return identifier
|
||||
return identifier;
|
||||
}
|
||||
|
||||
// shorthand because this can get out of hand reall quickly
|
||||
window.$s = scope
|
||||
window.$s = scope;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue