-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update asdom to AssemblyScript (and loader) v0.27.5
In the process, the finalizer for the Object class (now JSObject) has been changed to work properly for this version. Also, some definite assignments have been added for the example to properly compile. Lastly, the asconfig.json has been updated to use the "outFile" field, instead of "binaryFile".
- Loading branch information
1 parent
370337b
commit 6e5dcb7
Showing
4 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {toString} from './imports' | ||
|
||
/** | ||
* The base class that all objects extend from. | ||
*/ | ||
export class JSObject { | ||
toString(): string { | ||
return toString(this) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters