-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract Core/StandardLibrary.ts to separate module Std
Symbol module is replaced by std which will hold the standard dictionary for Sanara.
- Loading branch information
Showing
16 changed files
with
50 additions
and
78 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
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
File renamed without changes.
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,13 @@ | ||
/// <reference path="./src/justAnExample"/> | ||
|
||
module Sanara.Std { | ||
export var dictionary : Sanara.Core.Dictionary = (function() { | ||
var entries = <Sanara.Core.DictionaryEntry[]>[]; | ||
// | ||
entries.push(Sanara.Std.Circle); | ||
entries.push(Sanara.Std.Bitree); | ||
entries.push(Sanara.Std.FillColor); | ||
// | ||
return new Sanara.Core.Dictionary(entries); | ||
})(); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,6 @@ | |
"files": [ | ||
"./declareFiles/coreLib.d.ts", | ||
"./lib.ts", | ||
"./src/Rect.ts" | ||
"./src/justAnExample.ts" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Empty file.
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,26 @@ | ||
declare module Sanara.Std { | ||
class Bitree extends Sanara.Core.Fragment { | ||
static doc: Sanara.Core.FragmentClassDoc; | ||
private content; | ||
private lefty; | ||
private righty; | ||
constructor(children: Sanara.Core.Fragment[]); | ||
paintImplementation(context: Sanara.Core.SanaraContext): void; | ||
} | ||
class Circle extends Sanara.Core.Fragment { | ||
static doc: Sanara.Core.FragmentClassDoc; | ||
private static CIRCLE; | ||
constructor(); | ||
paintImplementation(context: Sanara.Core.SanaraContext): void; | ||
} | ||
class FillColor extends Sanara.Core.Fragment { | ||
static doc: Sanara.Core.FragmentClassDoc; | ||
private color; | ||
private child; | ||
constructor(children: Sanara.Core.Fragment[], parameters: Sanara.Core.Value[]); | ||
paintImplementation(context: Sanara.Core.SanaraContext): void; | ||
} | ||
} | ||
declare module Sanara.Std { | ||
var dictionary: Sanara.Core.Dictionary; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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